From 7d7cef5f371a33b9ba717c48aa3f1fa670d5e0d9 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 12 Jan 2020 02:15:48 +0800 Subject: [PATCH] update --- app/Http/Controllers/OrderController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/OrderController.php b/app/Http/Controllers/OrderController.php index 6f0248f1..b9cf1b9e 100755 --- a/app/Http/Controllers/OrderController.php +++ b/app/Http/Controllers/OrderController.php @@ -346,7 +346,7 @@ class OrderController extends Controller abort(500, '支付网关请求失败'); } - if (!Cache::put($source['id'], $order->trade_no, 3600) { + if (!Cache::put($source['id'], $order->trade_no, 3600)) { abort(500, '订单创建失败'); } return $source['redirect']['url'];