|
|
|
@@ -1005,7 +1005,7 @@ public class WxPayOrderServiceImpl implements WxPayOrderService { |
|
|
|
|
|
|
|
WxAppinfo appinfo = wxAppinfoService.getCAppInfo(order,payWay); |
|
|
|
|
|
|
|
if (record.getPayAmount().equals(order.getTotalPayment())) { |
|
|
|
if (record.getPayAmount().intValue() == 0 || record.getPayAmount().equals(order.getTotalPayment())) { |
|
|
|
doCouponPayOrder(user, record, order,payWay); |
|
|
|
} else { |
|
|
|
throw new MallinkException(ErrorCode.PAY_ORDER_ERROR); |
|
|
|
|