mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-09-02 02:34:34 +00:00
feat(core): 完善收银台功能并优化相关配置
- 新增小程序支付方式 - 更新聚合支付名称 - 添加收银台签名接口 - 实现收银台链接创建功能 -优化收银台配置查询 - 修复聚合支付URL生成逻辑- 优化微信授权URL生成格式
This commit is contained in:
@@ -75,7 +75,7 @@ public class WechatAuthService {
|
||||
PlatformConfig platformConfig = platformConfigService.getConfig();
|
||||
serverUrl = platformConfig.getGatewayMobileUrl();
|
||||
}
|
||||
String redirectUrl = StrUtil.format("{}/{}", serverUrl, authPath);
|
||||
String redirectUrl = StrUtil.format("{}{}", serverUrl, authPath);
|
||||
return wxMpService.getOAuth2Service().buildAuthorizationUrl(redirectUrl, WxConsts.OAuth2Scope.SNSAPI_BASE, "");
|
||||
}
|
||||
|
||||
|
@@ -41,7 +41,7 @@ public class WechatCheckoutStrategy extends AbsCheckoutStrategy {
|
||||
*/
|
||||
@Override
|
||||
public String generateAuthUrl(String orderNo) {
|
||||
String redirectUrl = StrUtil.format("/checkout/wechat/{}", orderNo);
|
||||
String redirectUrl = StrUtil.format("/aggregate/wechat/{}", orderNo);
|
||||
return wechatAuthService.generateInnerAuthUrl(redirectUrl);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user