This commit is contained in:
root 2019-11-28 14:05:16 +08:00
parent c9297c4aa8
commit 2cb86bf17e

View File

@ -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;