批量优化

This commit is contained in:
hero920103 committed 2026-10-03 23:46:55 +08:00
1 parent e3db229f41
commit aa92ca40a2
79 files changed
+7495 -1104

No files matched your search

+8
View File
@@ -48,4 +48,12 @@ func Register() {
// 微信扫码登录(未认证公众号:服务号二维码 + 登录码 + 公众号内确认链接)
beego.Router("/auth/wechat/scan/start", &authctl.AuthLoginController{}, "post:WechatScanStart")
beego.Router("/auth/wechat/scan/status", &authctl.AuthLoginController{}, "get:WechatScanStatus")
// 微信小程序一键登录(wx.login code + getPhoneNumber 动态 code 换登录态)
beego.Router("/auth/wechat/miniapp/config", &authctl.AuthWechatMiniController{}, "get:Config")
beego.Router("/auth/wechat/miniapp/login", &authctl.AuthWechatMiniController{}, "post:Login")
// 移动端免登录票据:把移动端登录态桥接到 Web 端,避免 webview 内二次登录
beego.Router("/auth/app-ticket", &authctl.AuthAppTicketController{}, "post:Create")
beego.Router("/auth/app-ticket/exchange", &authctl.AuthAppTicketController{}, "post:Exchange")
}