Browse Source

update: statistics

tokumeikoi 4 years ago
parent
commit
9a465d9bb4
2 changed files with 7 additions and 2 deletions
  1. 5 0
      app/Console/Commands/V2boardStatistics.php
  2. 2 2
      app/Models/StatOrder.php

+ 5 - 0
app/Console/Commands/V2boardStatistics.php

@@ -43,6 +43,11 @@ class V2BoardStatistics extends Command
         $this->statServer();
     }
 
+    private function statOrder()
+    {
+
+    }
+
     private function statServer()
     {
         $endAt = strtotime(date('Y-m-d'));

+ 2 - 2
app/Models/Tutorial.php → app/Models/StatOrder.php

@@ -4,9 +4,9 @@ namespace App\Models;
 
 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 $guarded = ['id'];
 }