From 2cb86bf17ee5a64e36d6f50ba6bab8352a4d0847 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 28 Nov 2019 14:05:16 +0800 Subject: [PATCH] update --- app/Http/Controllers/Guest/OrderController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Guest/OrderController.php b/app/Http/Controllers/Guest/OrderController.php index 52a59938..325bd90f 100644 --- a/app/Http/Controllers/Guest/OrderController.php +++ b/app/Http/Controllers/Guest/OrderController.php @@ -28,7 +28,7 @@ class OrderController extends Controller if (!$order) { abort(500, 'fail'); } - if ($order->status !== 0) { + if ($order->status == 1) { die('success'); } $order->status = 1;