init
This commit is contained in:
@ -11,6 +11,7 @@ import (
|
||||
func registerAPI(app *gin.Engine) {
|
||||
apiPrefix := "/api"
|
||||
g := app.Group(apiPrefix)
|
||||
|
||||
// 登录验证
|
||||
g.Use(NeedLogin(AddSkipperURL([]string{
|
||||
apiPrefix + "/captcha",
|
||||
|
Reference in New Issue
Block a user