|
|
|
@@ -151,9 +151,10 @@ public class WxPayOrderController extends BaseController { |
|
|
|
return new ResultData(ErrorCode.PAY_ORDER_ERROR, "当前用户appId["+user.getAppId()+"]找不到appInfo"); |
|
|
|
} |
|
|
|
WxPayAccount payAccount = wxPayAccountService.getById(appInfo.getPayId()); |
|
|
|
order = wxOrderService.getById(orderId); |
|
|
|
WxPayOrder wo = wxPayOrderService.handleWxOrderQuery(payOrder, order, appInfo, payAccount, IdWorker.get()); |
|
|
|
if (null != wo) { |
|
|
|
return new ResultData(Result.SUCCESS, "支付状态更新成功"); |
|
|
|
return new ResultData(Result.SUCCESS, "支付状态更新成功", order); |
|
|
|
} |
|
|
|
return new ResultData(ErrorCode.PAY_ORDER_ERROR, "查询微信订单支付状态失败,请稍后!"); |
|
|
|
} |
|
|
|
|