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

Commit 12727f1e authored by jiangxiulong's avatar jiangxiulong

苹果支付回调不判断PayCode

parent 58bfcb62
...@@ -575,10 +575,11 @@ public class GoblinNftOrderServiceImpl implements IGoblinNftOrderService { ...@@ -575,10 +575,11 @@ public class GoblinNftOrderServiceImpl implements IGoblinNftOrderService {
log.error("Nft订单不存在2 param:[orderCode:{}]", orderCode); log.error("Nft订单不存在2 param:[orderCode:{}]", orderCode);
return "fail"; return "fail";
} }
/*if (!orderVo.getPayCode().equals(syncOrderParam.getCode())) { // 苹果支付下单时候没有PayCode
if (!orderVo.getPayType().equals("applepay") && !orderVo.getPayCode().equals(syncOrderParam.getCode())) {
log.error("Nft订单payCode不匹配 param:[orderCode:{}, payCode:{}, code:{}]", orderCode, orderVo.getPayCode(), syncOrderParam.getCode()); log.error("Nft订单payCode不匹配 param:[orderCode:{}, payCode:{}, code:{}]", orderCode, orderVo.getPayCode(), syncOrderParam.getCode());
return "fail"; return "fail";
}*/ }
if ( if (
!Objects.equals(orderVo.getStatus(), GoblinStatusConst.NftStatus.ORDER_STATUS_1.getValue()) !Objects.equals(orderVo.getStatus(), GoblinStatusConst.NftStatus.ORDER_STATUS_1.getValue())
&& &&
......
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