在app/api/controller/v1/order/StoreOrderController.php文件中,将红框内的代码注释,加上绿框的代码即可修复
if ($this->services->setOrderTypePayOffline($order['order_id'])) {
event('NoticeListener', [$order, 'admin_pay_success_code']);
return app('json')->status('success', 410203);
} else {
return app('json')->status('success', 410216);