Commit e3c767a7 by xiaoer.li@freemud.com

fix:支付结果设置

parent 8875579c
......@@ -2273,7 +2273,11 @@ public class OrderServiceImpl implements Orderservice {
}
if (totalAmount > 0 && StringUtils.isBlank(cardCode) && Objects.isNull(createPrepayRequestDto.getUnionPayCard())) {
createOrderResponse.setPaySuccess(false);
} else {
}
else if (totalAmount > 0 && StringUtils.isNotBlank(cardCode)) {
createOrderResponse.setPaySuccess(false);
}
else {
createOrderResponse.setPaySuccess(true);
}
// 推荐优惠插件用户下单数据上报
......
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