This commit is contained in:
root
2020-01-03 23:05:14 +08:00
parent 2346b1a2dc
commit e3431c6ae7
3 changed files with 1 additions and 9 deletions

View File

@ -176,10 +176,6 @@ class OrderController extends Controller
if (!$order) {
abort(500, '订单不存在或已支付');
}
$order->method = $method;
if (!$order->save()) {
abort(500, '支付失败,请稍后再试');
}
switch ($method) {
// return type => 0: QRCode / 1: URL
case 0: