优化线下付款客服通知

This commit is contained in:
evoxwht 2023-04-28 10:37:31 +08:00
parent d8b07b7bd0
commit c4f921f0c5

View File

@ -291,10 +291,12 @@ class StoreOrderController
return app('json')->status('pay_error', $pay);
}
case PayServices::OFFLINE_PAY:
if ($this->services->setOrderTypePayOffline($order['order_id']))
if ($this->services->setOrderTypePayOffline($order['order_id'])) {
event('NoticeListener', [$order, 'admin_pay_success_code']);
return app('json')->status('success', 410203);
else
} else {
return app('json')->status('success', 410216);
}
default:
$payInfo = $payServices->beforePay($order->toArray(), $paytype, ['quitUrl' => $quitUrl]);
return app('json')->status($payInfo['status'], $payInfo['payInfo']);