提交代码

dev-discount
胡锐 2 years ago
parent ad8cdb27cf
commit 37581518e0
  1. 3
      hai-cweb/src/main/java/com/cweb/controller/pay/OrderController.java
  2. 2
      hai-service/src/main/java/com/hai/config/JinZhuJiaYouService.java

@ -420,7 +420,8 @@ public class OrderController {
} }
// 来源类型 1:平台自建 2:团油 // 来源类型 1:平台自建 2:团油
if (store.getSourceType().equals(MerchantStoreSourceType.type3.getNumber())) { if (store.getSourceType().equals(MerchantStoreSourceType.type3.getNumber())
|| store.getSourceType().equals(MerchantStoreSourceType.type4.getNumber())) {
BigDecimal account = new BigDecimal("0"); BigDecimal account = new BigDecimal("0");
// 查询账号余额 // 查询账号余额
HighMerchantAccount merAccount = merchantAccountService.getStoreAccountDetail(store.getMerchantId()); HighMerchantAccount merAccount = merchantAccountService.getStoreAccountDetail(store.getMerchantId());

@ -133,7 +133,7 @@ public class JinZhuJiaYouService {
if (repsObject == null if (repsObject == null
|| !repsObject.getInteger("status").equals(200) || !repsObject.getInteger("status").equals(200)
|| !repsObject.getString("type").equals("OK")) { || !repsObject.getString("type").equals("OK")) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, repsObject == null?"请求失败":repsObject.getString("title")); throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, repsObject == null?"请求失败":repsObject.getString("detail"));
} }
return repsObject; return repsObject;
} }

Loading…
Cancel
Save