This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
Files
schisandra-cloud-album/router/modules/auth_user_router.go
2024-08-06 00:08:33 +08:00

18 lines
477 B
Go

package modules
import (
"github.com/gin-gonic/gin"
"schisandra-cloud-album/api"
)
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)
}