mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 17:31:49 +08:00 
			
		
		
		
	update: check user
This commit is contained in:
		| @@ -43,7 +43,9 @@ class CheckUser extends Command | |||||||
|  |  | ||||||
|     private function resetExpiredUserPlan($day = 14) |     private function resetExpiredUserPlan($day = 14) | ||||||
|     { |     { | ||||||
|         User::where('expired_at', '<', $day * 86400)->update([ |         User::where('expired_at', '<', $day * 86400) | ||||||
|  |             ->whereNotNull('expired_at') | ||||||
|  |             ->update([ | ||||||
|             'plan_id' => NULL, |             'plan_id' => NULL, | ||||||
|             'group_id' => NULL |             'group_id' => NULL | ||||||
|         ]); |         ]); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user