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> |
||
|---|---|---|
| .. | ||
| src | ||
| .env.example | ||
| Dockerfile | ||
| deploy.sh | ||
| nest-cli.json | ||
| package.json | ||
| tsconfig.json | ||