feat: client 增删改查
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package system
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
type AuthRouter struct {
|
||||
}
|
||||
|
||||
// InitAuthRouter 初始化登录路由
|
||||
func (s *AuthRouter) InitAuthRouter(Router *gin.RouterGroup) {
|
||||
loginRouter := Router.Group("auth")
|
||||
{
|
||||
loginRouter.POST("login", authApi.Login)
|
||||
loginRouter.GET("captcha", authApi.Captcha)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user