2026年2月20日

This commit is contained in:
2026-02-20 11:12:41 +08:00
parent 8155bd710b
commit 958bb6e88e
6 changed files with 36 additions and 16 deletions

View File

@@ -0,0 +1,13 @@
package admin
import "github.com/gin-gonic/gin"
type BaseController struct {
}
func (con BaseController) succes(c *gin.Context) {
c.String(200, "成功")
}
func (con BaseController) error(c *gin.Context) {
c.String(200, "失败")
}