refactor(sdk): 重构 SDK 参数和响应模型

- 更新了多个 SDK 参数和响应模型类的结构
- 优化了字段注解和数据校验
-统一了代码风格,提高了可读性和可维护性
This commit is contained in:
DaxPay
2024-12-03 17:45:44 +08:00
parent 0cc8ac4007
commit 77379828f6
40 changed files with 669 additions and 144 deletions

View File

@@ -48,7 +48,7 @@ public class AliPayAuthService {
// 授权地址
String serverUrl = platformConfig.getGatewayMobileUrl();
String authUrl = StrUtil.format("{}/alipay/auth/{}/{}/{}/{}",
String authUrl = StrUtil.format("{}/auth/alipay/{}/{}/{}/{}",
serverUrl, param.getAppId(),param.getChannel(),queryCode,aliPayConfig.getAliAppId());
return new AuthUrlResult().setAuthUrl(authUrl).setQueryCode(queryCode);