mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
update 支付时获取对应的支付配置
This commit is contained in:
@@ -54,7 +54,7 @@ public class PayOrderDTO {
|
||||
/**
|
||||
* 微信小程序appId
|
||||
*/
|
||||
private String appId;
|
||||
private String wechatAppId;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
|
||||
@@ -22,7 +22,10 @@ public class WeixinPayDTO extends BaseMemberDTO{
|
||||
*/
|
||||
private String attach;
|
||||
|
||||
private String appId;
|
||||
/**
|
||||
* 微信小程序appId
|
||||
*/
|
||||
private String wechatAppId;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
|
||||
@@ -2779,7 +2779,7 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
|
||||
}
|
||||
|
||||
// 获取支付配置
|
||||
AbstractAdapayConfig config = AdapayConfigFactory.getConfig(dto.getAppId());
|
||||
AbstractAdapayConfig config = AdapayConfigFactory.getConfig(dto.getWechatAppId());
|
||||
if (config == null) {
|
||||
throw new BusinessException(ReturnCodeEnum.CODE_ADAPAY_CONFIG_IS_NULL_ERROR);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user