package route import ( "github.com/gin-gonic/gin" "wireguard-dashboard/http/api" ) func UserApi(r *gin.Engine) { userApi := r.Group("user") { userApi.POST("/login", api.UserApi().Login) // 登陆 } }