add register

This commit is contained in:
ljw committed 2024-10-31 15:14:30 +08:00
1 parent 0ed40318cb
commit e2fda47cbb
12 files changed
+86 -3

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ func Init(g *gin.Engine) {
adg := g.Group("/api/admin")
LoginBind(adg)
adg.POST("/user/register", (&admin.User{}).Register)
adg.Use(middleware.AdminAuth())
//FileBind(adg)
UserBind(adg)