6
0
Fork 0

调整后台支付时调用paysuccess传参

release
vine_liutk 2021-12-27 14:50:38 +08:00
parent 897c5ccf9b
commit e613e306b9
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class OrderService
if ($order->isPending()) {
//操作订单状态-需要调整为统一支付方法
$orderService = new EndpointOrderService();
$orderService->paySuccess($order->sn, [
$orderService->paySuccess($order, [
'pay_sn' => date('YmdHis').sprintf('%02d', mt_rand(1, 99)),
'pay_way' => Order::PAY_WAY_OFFLINE,
'pay_at' => now(),