mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update
This commit is contained in:
		| @@ -64,6 +64,10 @@ class OrderController extends Controller | ||||
|         if (!$plan->show && !$plan->renew) { | ||||
|             abort(500, '该订阅无法续费,请更换其他订阅'); | ||||
|         } | ||||
|  | ||||
|         if (!(int)$plan[$request->input('cycle')]) { | ||||
|             abort(500, '该订阅周期无法进行购买,请选择其他周期'); | ||||
|         } | ||||
|          | ||||
|         $order = new Order(); | ||||
|         $order->user_id = $request->session()->get('id'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user