|
|
|
@@ -244,6 +244,7 @@ public class WxPayOrderServiceImpl implements WxPayOrderService { |
|
|
|
String productName = orderAdapterService.getPayProductName(lastCoupon); |
|
|
|
PayAdapterResult payResult = createPayOrder(appInfo, user, record,composeOrder,productName, payWay, params); |
|
|
|
if (payResult.isSuccess()) { |
|
|
|
wxOrderService.sendInsideOrderPushMsg(composeOrder,composeOrder.getMainOrderId()); |
|
|
|
return new ResultData(Result.SUCCESS,"创建支付单成功",payResult.getData()); |
|
|
|
}else { |
|
|
|
return new ResultData(ErrorCode.PAY_ORDER_ERROR.getCode(), payResult.getMsg(), payResult.getData()); |
|
|
|
|