Reapply "feat(controller): 完善基础控制器及默认页面渲染"

This reverts commit 1a3bd1a6b3.
This commit is contained in:
2026-02-21 12:50:53 +08:00
parent b84e6449dc
commit 32dae8712c
4 changed files with 34 additions and 32 deletions

View File

@@ -3,10 +3,11 @@ package admin
import "github.com/gin-gonic/gin"
type UserController struct {
BaseController
}
func (con UserController) Index(c *gin.Context) {
c.String(200, "管理员用户列表")
con.Success(c)
}
func (con UserController) Show(c *gin.Context) {