mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	remove
This commit is contained in:
		| @@ -78,10 +78,6 @@ class UserController extends Controller | |||||||
|                 abort(500, '订阅计划不存在'); |                 abort(500, '订阅计划不存在'); | ||||||
|             } |             } | ||||||
|             $params['group_id'] = $plan->group_id; |             $params['group_id'] = $plan->group_id; | ||||||
|             // plan type is onetime, set expired time 0 |  | ||||||
|             if ($plan->type === 1) { |  | ||||||
|                 $user->expired_at = 0; |  | ||||||
|             } |  | ||||||
|         } |         } | ||||||
|         if (!$user->update($params)) { |         if (!$user->update($params)) { | ||||||
|             abort(500, '保存失败'); |             abort(500, '保存失败'); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user