Revert "feat(controller): 完善基础控制器及默认页面渲染"
This reverts commit 37c78d9a4e.
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
package admin
|
||||
|
||||
import "github.com/gin-gonic/gin"
|
||||
|
||||
type BaseController struct {
|
||||
}
|
||||
|
||||
func (con BaseController) Success(c *gin.Context) {
|
||||
c.String(200, "成功")
|
||||
}
|
||||
func (con BaseController) Error(c *gin.Context) {
|
||||
c.String(200, "失败")
|
||||
}
|
||||
Reference in New Issue
Block a user