mirror of
				https://github.com/v2board/v2board.git
				synced 2025-11-01 01:41:47 +08:00 
			
		
		
		
	update
This commit is contained in:
		| @@ -47,7 +47,7 @@ class SystemCache extends Command | ||||
|  | ||||
|     private function setMonthIncome() { | ||||
|         Redis::set( | ||||
|             'getMonthIncome', | ||||
|             'month_income', | ||||
|             Order::where('created_at', '>', strtotime(date('Y-m-1'))) | ||||
|                 ->where('created_at', '>', time()) | ||||
|                 ->where('status', '3') | ||||
| @@ -58,7 +58,7 @@ class SystemCache extends Command | ||||
|  | ||||
|     private function setMonthRegisterTotal() { | ||||
|         Redis::set( | ||||
|             'getMonthRegisterTotal', | ||||
|             'month_register_total', | ||||
|             User::where('created_at', '>', strtotime(date('Y-m-1'))) | ||||
|                 ->where('created_at', '>', time()) | ||||
|                 ->count() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user