package handler import ( "net/http" "github.com/gin-gonic/gin" ) // AdminIndex 管理后台首页 func AdminIndex(c *gin.Context) { c.HTML(http.StatusOK, "index.html", gin.H{ "title": "管理后台", }) } // AdminUsers 用户管理 func AdminUsers(c *gin.Context) { c.HTML(http.StatusOK, "index.html", gin.H{ "title": "用户管理", }) } // AdminOrders 订单管理 func AdminOrders(c *gin.Context) { c.HTML(http.StatusOK, "index.html", gin.H{ "title": "订单管理", }) } // AdminWishes 许愿管理 func AdminWishes(c *gin.Context) { c.HTML(http.StatusOK, "index.html", gin.H{ "title": "许愿管理", }) } // AdminSettings 系统设置 func AdminSettings(c *gin.Context) { c.HTML(http.StatusOK, "index.html", gin.H{ "title": "系统设置", }) }