package routers import ( "github.com/gin-gonic/gin" "project_management/app/controller" ) func UserRouter(r *gin.Engine) { group := r.Group("/api") group.POST("/user/sendcode", controller.SendCode) group.POST("/user/login", controller.Login) }