|
@@ -156,7 +156,14 @@ public class TransferFuncServiceImpl implements TransferFuncService {
|
|
|
name += "xx";
|
|
name += "xx";
|
|
|
}
|
|
}
|
|
|
Integer scope = transferAccountsReq.getScope();
|
|
Integer scope = transferAccountsReq.getScope();
|
|
|
- AlipayClient alipayClient = AliPayClientFactory.getAlipayClient(ShopConfig.DISTRIBUTE_ZFB_DEFAULT_APP_ID);
|
|
|
|
|
|
|
+ SysConfig config = sysConfigService.getOne(Wrappers.lambdaQuery(SysConfig.class)
|
|
|
|
|
+ .eq(SysConfig::getSysKey, Constant.TAKE_MONEY_DEFAULT_ZFB)
|
|
|
|
|
+ .last("limit 1"));
|
|
|
|
|
+ String takeMoneyDefaultZfb = ShopConfig.DISTRIBUTE_ZFB_DEFAULT_APP_ID;
|
|
|
|
|
+ if (config != null && StrUtil.isNotEmpty(config.getSysValue())) {
|
|
|
|
|
+ takeMoneyDefaultZfb = config.getSysValue();
|
|
|
|
|
+ }
|
|
|
|
|
+ AlipayClient alipayClient = AliPayClientFactory.getAlipayClient(takeMoneyDefaultZfb);
|
|
|
|
|
|
|
|
AlipayRequest alipayRequest = aliPayTransferAccountsRequest(donNo, account, name, money, remark);
|
|
AlipayRequest alipayRequest = aliPayTransferAccountsRequest(donNo, account, name, money, remark);
|
|
|
|
|
|