add go-captcha / add base auth api

This commit is contained in:
landaiqing
2024-08-06 00:08:33 +08:00
parent 9b36d2fff0
commit d0496b34f0
29 changed files with 687 additions and 121 deletions

View File

@@ -10,4 +10,8 @@ var authApi = api.Api.AuthApi
func AuthRouter(router *gin.RouterGroup) {
group := router.Group("auth")
group.GET("/user/List", authApi.GetUserList)
group.GET("/user/query_by_username", authApi.QueryUserByUsername)
group.GET("/user/query_by_uuid", authApi.QueryUserByUuid)
group.DELETE("/user/delete", authApi.DeleteUser)
group.GET("/user/query_by_phone", authApi.QueryUserByPhone)
}