mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-31 23:10:45 +00:00
优化线下付款客服通知
This commit is contained in:
parent
d8b07b7bd0
commit
c4f921f0c5
@ -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']);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user