fix 路径拼接错误和添加请求路径注解

This commit is contained in:
DaxPay
2024-10-12 11:05:06 +08:00
parent 0612a9dcbe
commit 1d6fbd959e
9 changed files with 23 additions and 11 deletions

View File

@@ -110,6 +110,6 @@ public class ChannelCashierConfigService {
MchApp mchApp = mchAppManager.findByAppId(appId).orElseThrow(() -> new DataNotExistException("未找到指定的应用配置"));
PlatformConfig platformConfig = platformConfigService.getConfig();
String serverUrl = platformConfig.getGatewayMobileUrl();
return StrUtil.format("{}/channel/cashier/{}/{}", serverUrl, mchApp.getAppId());
return StrUtil.format("{}/channel/cashier/{}", serverUrl, mchApp.getAppId());
}
}