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

Commit 9f950c25 authored by 胡佳晨's avatar 胡佳晨

修改正在下单接口 h5 0元支付

parent f18093d6
......@@ -477,6 +477,13 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
payCode = payInnerResultVo.getCode();
payInnerResultVo.setShowUrl(preParam.getShowUrl());
payInnerResultVo.setReturnUrl(preParam.getReturnUrl());
}else if(preParam.getPayType()==null){
isFree = true;
preParam.setPayType("FREE");
payCode = "FREE_PAY_CODE";
payInnerResultVo = GoblinPayInnerResultVo.getNew();
payInnerResultVo.setPrice(BigDecimal.valueOf(0));
payInnerResultVo.setPayType(preParam.getPayType());
} else if (preParam.getPayType().equals("huifu")) {
isFree = true;
preParam.setPayType("huifu");
......
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