|
|
@ -123,11 +123,6 @@ public class OrderPayController { |
|
|
|
log.error("wxPay ERROR", "订单不处于待支付状态"); |
|
|
|
log.error("wxPay ERROR", "订单不处于待支付状态"); |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.ORDER_NO_STAY_PAY, ""); |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.ORDER_NO_STAY_PAY, ""); |
|
|
|
} |
|
|
|
} |
|
|
|
if (DateUtil.getSecondDiff(order.getCreateTime(), DateUtil.addDate(order.getCreateTime(), 10)) < 10) { |
|
|
|
|
|
|
|
log.error("wxPay ERROR", "订单待支付时间小于10秒,请重新下单支付"); |
|
|
|
|
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "订单待支付时间小于10秒,请重新下单支付"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Integer openIdType = body.getInteger("openIdType"); |
|
|
|
Integer openIdType = body.getInteger("openIdType"); |
|
|
|
// 是否分账
|
|
|
|
// 是否分账
|
|
|
|
String profitSharing = "N"; |
|
|
|
String profitSharing = "N"; |
|
|
|