feat: 合并Gin_Vue

This commit is contained in:
TsMask committed 2023-10-16 20:04:08 +08:00
1 parent 55fe1d534d
commit 05c7e9b9e8
213 files changed
+20338 -311

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
package controller
import (
"github.com/gin-gonic/gin"
)
// 实例化控制层 CommontController 结构体
var NewCommont = &CommontController{}
// 通用请求
//
// PATH /
type CommontController struct{}
// 哈希加密
//
// GET /hash
func (s *CommontController) Hash(c *gin.Context) {
c.String(200, "commont Hash")
}