gcx/frontend/genex-mobile/lib/core
hailin 828770add8 fix(alipay): 适配 tobias 5.x 新 auth API,后端生成签名 authString
tobias 3.x+ 移除了顶层函数 aliPayAuth(appId, scope),
改为需要后端预签名的 Tobias().auth(authString)。

变更:
- alipay.provider.ts: 新增 generateMobileAuthString(scope) 方法,
  用 RSA2 私钥生成符合 Alipay SDK 格式的签名授权字符串
- auth.controller.ts: 新增 GET /auth/alipay/auth-string 接口
- pubspec.yaml: tobias ^3.0.0 → ^5.0.0
- auth_service.dart: 新增 getAlipayAuthString() 方法
- welcome_page.dart: 更新支付宝登录流程,先获取 authString 再调用 tobias

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 09:26:30 -08:00
..
network feat(genex-mobile): Token 持久化 — 登录状态跨重启保持 2026-03-04 02:01:27 -08:00
providers feat: 三端集成 App升级 + 内部推送 + FCM外部推送框架 (genex-mobile/admin-app/mobile) 2026-02-13 07:02:14 -08:00
push feat: 全平台API对齐 — 4个前端应用55+页面接入真实后端API 2026-02-22 22:53:07 -08:00
services fix(alipay): 适配 tobias 5.x 新 auth API,后端生成签名 authString 2026-03-04 09:26:30 -08:00
storage feat(genex-mobile): Token 持久化 — 登录状态跨重启保持 2026-03-04 02:01:27 -08:00
updater fix(genex-mobile): 还原 api.gogenex.com + 增加更新检测日志 2026-03-03 23:17:12 -08:00