|
@@ -164,6 +164,7 @@ public class HuiFuServiceImpl implements HuiFuService {
|
|
|
String jsonString = JSONObject.toJSONString(response);
|
|
String jsonString = JSONObject.toJSONString(response);
|
|
|
huiFuRefundResult = JSON.parseObject(jsonString, HuiFuRefundResult.class);
|
|
huiFuRefundResult = JSON.parseObject(jsonString, HuiFuRefundResult.class);
|
|
|
} catch (Exception e){
|
|
} catch (Exception e){
|
|
|
|
|
+ logger.error("退款创建失败", e);
|
|
|
throw new CustomException("退款创建失败");
|
|
throw new CustomException("退款创建失败");
|
|
|
}
|
|
}
|
|
|
return huiFuRefundResult;
|
|
return huiFuRefundResult;
|
|
@@ -364,7 +365,7 @@ public class HuiFuServiceImpl implements HuiFuService {
|
|
|
throw new CustomException("小程序没有配置商户信息");
|
|
throw new CustomException("小程序没有配置商户信息");
|
|
|
}
|
|
}
|
|
|
MerchantAppConfig merchantAppConfig = merchantAppConfigMapper.selectMerchantAppConfigById(fsCoursePlaySourceConfig.getMerchantConfigId());
|
|
MerchantAppConfig merchantAppConfig = merchantAppConfigMapper.selectMerchantAppConfigById(fsCoursePlaySourceConfig.getMerchantConfigId());
|
|
|
- FsPayConfig fsPayConfig = com.hc.openapi.tool.fastjson.JSON.parseObject(merchantAppConfig.getDataJson(), FsPayConfig.class);
|
|
|
|
|
|
|
+ FsPayConfig fsPayConfig = JSON.parseObject(merchantAppConfig.getDataJson(), FsPayConfig.class);
|
|
|
|
|
|
|
|
MerConfig merConfig = new MerConfig();
|
|
MerConfig merConfig = new MerConfig();
|
|
|
merConfig.setProcutId(fsPayConfig.getHfProductId());
|
|
merConfig.setProcutId(fsPayConfig.getHfProductId());
|