后端直接处理实名认证回调
This commit is contained in:
@@ -23,7 +23,6 @@ func ApplyRouters(app *fiber.App) {
|
||||
user.Post("/update/account", handlers.UpdateAccount)
|
||||
user.Post("/update/password", handlers.UpdatePassword)
|
||||
user.Post("/identify", handlers.Identify)
|
||||
user.Post("/identify/callback", handlers.IdentifyCallback)
|
||||
|
||||
// 白名单
|
||||
whitelist := api.Group("/whitelist")
|
||||
@@ -77,4 +76,7 @@ func ApplyRouters(app *fiber.App) {
|
||||
debug := app.Group("/debug")
|
||||
debug.Get("/sms/:phone", handlers.DebugGetSmsCode)
|
||||
debug.Get("/proxy/register", handlers.DebugRegisterProxyBaiYin)
|
||||
|
||||
callbacks := app.Group("/callback")
|
||||
callbacks.Get("/identify", handlers.IdentifyCallbackNew)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user