|
@@ -145,10 +145,10 @@ public class WalletServiceImpl implements IWalletService {
|
|
|
JSONObject jsonObject = JSONObject.parseObject(result);
|
|
|
String code = jsonObject.getString("code");
|
|
|
logger.info("用户订单退款 -> request params:" + sendData.toJSONString() + " result:" + result);
|
|
|
- if ("E0001".equals(code)) {
|
|
|
- throw new ServiceException(jsonObject.getString("result"));
|
|
|
+ if ("R0001".equals(code)) {
|
|
|
+ return true;
|
|
|
}
|
|
|
- return true;
|
|
|
+ throw new ServiceException(jsonObject.getString("result"));
|
|
|
}
|
|
|
|
|
|
|
|
@@ -169,10 +169,10 @@ public class WalletServiceImpl implements IWalletService {
|
|
|
JSONObject jsonObject = JSONObject.parseObject(result);
|
|
|
String code = jsonObject.getString("code");
|
|
|
logger.info("经销商订单退款 -> request params:" + sendData.toJSONString() + " result:" + result);
|
|
|
- if ("E0001".equals(code)) {
|
|
|
- throw new ServiceException(jsonObject.getString("result"));
|
|
|
+ if ("R0001".equals(code)) {
|
|
|
+ return true;
|
|
|
}
|
|
|
- return true;
|
|
|
+ throw new ServiceException(jsonObject.getString("result"));
|
|
|
}
|
|
|
|
|
|
@Override
|