🆕接入验证码组件

This commit is contained in:
coward
2024-03-06 17:13:29 +08:00
parent 7fd186d298
commit c820672f89
9 changed files with 151 additions and 2 deletions

13
route/user.go Normal file
View File

@@ -0,0 +1,13 @@
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) // 登陆
}
}