mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update
This commit is contained in:
parent
7d7cef5f37
commit
fb0ebea836
@ -370,7 +370,7 @@ class OrderController extends Controller
|
||||
if (!$source['wechat']['qr_code_url']) {
|
||||
abort(500, '支付网关请求失败');
|
||||
}
|
||||
if (!Cache::put($source['id'], $order->trade_no)) {
|
||||
if (!Cache::put($source['id'], $order->trade_no, 3600)) {
|
||||
abort(500, '订单创建失败');
|
||||
}
|
||||
return $source['wechat']['qr_code_url'];
|
||||
|
Loading…
Reference in New Issue
Block a user