wireguard-dashboard/route/user.go
2024-03-06 17:13:29 +08:00

14 lines
209 B
Go

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) // 登陆
}
}