init: 初始化 web_hgdjb_server 项目
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"videoweb/web/api/web_user"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func userRouter(router *gin.RouterGroup) {
|
||||
user := router.Group("/user")
|
||||
{
|
||||
user.POST("/list", web_user.GetUserList)
|
||||
user.POST("/update", web_user.UpdateUser)
|
||||
user.POST("/giftcoin", web_user.GiftCoin)
|
||||
user.POST("/vip/update", web_user.UpdateVip)
|
||||
user.POST("/resetPassword", web_user.ResetPassword)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user