package router import ( "hkdj-web-server/app/api/authapi" "github.com/gin-gonic/gin" ) func authRouter(r *gin.Engine) { auth := r.Group("/api/app/auth") { auth.GET("/getInfo", authapi.GetInfo) auth.POST("/profile", authapi.UpdateProfile) } }