记得上下班打卡 | git大法好,push需谨慎

Commit c1582321 authored by 胡佳晨's avatar 胡佳晨

修改 下单 bug 增加 临时券详情接口

parent 4c0ce65a
...@@ -442,7 +442,9 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService { ...@@ -442,7 +442,9 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
if (preParam.getPayType().equals("unionpay")) { if (preParam.getPayType().equals("unionpay")) {
httpData.add("returnUrl", preParam.getReturnUrl() + preParam.getOrderMasterCode()); httpData.add("returnUrl", preParam.getReturnUrl() + preParam.getOrderMasterCode());
} }
String returnData = HttpUtil.post(payUrl, httpData); LinkedMultiValueMap<String, String> header = CollectionUtil.linkedMultiValueMapStringString();
header.add("Accept", "application/json;charset=UTF-8");
String returnData = HttpUtil.post(payUrl, httpData, header);
log.info("调用 DRAGON 结果 = " + returnData); log.info("调用 DRAGON 结果 = " + returnData);
ResponseDto<GoblinPayInnerResultVo> dto = JsonUtils.fromJson(returnData, new TypeReference<ResponseDto<GoblinPayInnerResultVo>>() { ResponseDto<GoblinPayInnerResultVo> dto = JsonUtils.fromJson(returnData, new TypeReference<ResponseDto<GoblinPayInnerResultVo>>() {
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment