mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	fix plan off, buy reset package
This commit is contained in:
		| @@ -78,7 +78,9 @@ class OrderController extends Controller | ||||
|         } | ||||
|  | ||||
|         if ((!$plan->show && !$plan->renew) || (!$plan->show && $user->plan_id !== $plan->id)) { | ||||
|             abort(500, '该订阅已售罄'); | ||||
|             if ($request->input('cycle') !== 'reset_price') { | ||||
|                 abort(500, '该订阅已售罄'); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         if (!$plan->renew && $user->plan_id == $plan->id) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user