mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-10-14 05:40:25 +00:00
perf 支付/退款/转账商户订单号查询时根据AppId做隔离
This commit is contained in:
@@ -65,7 +65,7 @@ public class WechatPayConfigService {
|
||||
public void save(WechatPayConfigParam param) {
|
||||
WechatPayConfig entity = WechatPayConfigConvert.CONVERT.toEntity(param);
|
||||
ChannelConfig channelConfig = entity.toChannelConfig();
|
||||
// 判断商户和应用下是否存在该配置
|
||||
// 判断商户应用下是否存在该配置
|
||||
if (channelConfigManager.existsByAppIdAndChannel(channelConfig.getAppId(), channelConfig.getChannel())){
|
||||
throw new DataErrorException("该应用下已存在微信配置, 请勿重新添加");
|
||||
}
|
||||
|
Reference in New Issue
Block a user