mirror of
https://github.com/v2board/v2board.git
synced 2025-01-11 00:29:09 +08:00
update
This commit is contained in:
parent
32795cf541
commit
e3916aaa06
@ -346,10 +346,9 @@ class OrderController extends Controller
|
|||||||
abort(500, '支付网关请求失败');
|
abort(500, '支付网关请求失败');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Cache::put($source['id'], $order->trade_no)) {
|
if (!Cache::put($source['id'], $order->trade_no, 3600) {
|
||||||
abort(500, '订单创建失败');
|
abort(500, '订单创建失败');
|
||||||
}
|
}
|
||||||
Redis::expire($source['id'], 3600);
|
|
||||||
return $source['redirect']['url'];
|
return $source['redirect']['url'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user