mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	fix: get reset day
This commit is contained in:
		| @@ -195,6 +195,9 @@ class UserController extends Controller | ||||
|             return $lastDay - $today; | ||||
|         } | ||||
|         if ((int)config('v2board.reset_traffic_method') === 1) { | ||||
|             if ((int)$day >= (int)$today && (int)$day >= (int)$lastDay) { | ||||
|                 return $lastDay - $today; | ||||
|             } | ||||
|             if ((int)$day >= (int)$today) { | ||||
|                 return $day - $today; | ||||
|             } else { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user