mirror of
				https://github.com/v2board/v2board.git
				synced 2025-11-01 01:41:47 +08:00 
			
		
		
		
	update: statistics
This commit is contained in:
		| @@ -43,6 +43,11 @@ class V2BoardStatistics extends Command | |||||||
|         $this->statServer(); |         $this->statServer(); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  |     private function statOrder() | ||||||
|  |     { | ||||||
|  |  | ||||||
|  |     } | ||||||
|  |  | ||||||
|     private function statServer() |     private function statServer() | ||||||
|     { |     { | ||||||
|         $endAt = strtotime(date('Y-m-d')); |         $endAt = strtotime(date('Y-m-d')); | ||||||
|   | |||||||
| @@ -4,9 +4,9 @@ namespace App\Models; | |||||||
| 
 | 
 | ||||||
| use Illuminate\Database\Eloquent\Model; | use Illuminate\Database\Eloquent\Model; | ||||||
| 
 | 
 | ||||||
| class Tutorial extends Model | class StatOrder extends Model | ||||||
| { | { | ||||||
|     protected $table = 'v2_tutorial'; |     protected $table = 'v2_stat_order'; | ||||||
|     protected $dateFormat = 'U'; |     protected $dateFormat = 'U'; | ||||||
|     protected $guarded = ['id']; |     protected $guarded = ['id']; | ||||||
| } | } | ||||||
		Reference in New Issue
	
	Block a user