后端直接处理实名认证回调

This commit is contained in:
2025-12-02 17:02:44 +08:00
parent d96f4bc4ef
commit e1e499c19b
3 changed files with 27 additions and 66 deletions

View File

@@ -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)
}