正在显示
1 个修改的文件
包含
0 行增加
和
10 行删除
| @@ -14,7 +14,6 @@ use App\Models\Devops\ServerConfig; | @@ -14,7 +14,6 @@ use App\Models\Devops\ServerConfig; | ||
| 14 | use App\Models\Devops\ServersIp; | 14 | use App\Models\Devops\ServersIp; |
| 15 | use App\Models\Domain\DomainCreateTask; | 15 | use App\Models\Domain\DomainCreateTask; |
| 16 | use App\Models\Domain\DomainInfo; | 16 | use App\Models\Domain\DomainInfo; |
| 17 | -use App\Models\Inquiry\ForwardCount; | ||
| 18 | use App\Models\Inquiry\InquiryInfo; | 17 | use App\Models\Inquiry\InquiryInfo; |
| 19 | use App\Models\Inquiry\InquiryRelayAi; | 18 | use App\Models\Inquiry\InquiryRelayAi; |
| 20 | use App\Models\Product\Category; | 19 | use App\Models\Product\Category; |
| @@ -50,16 +49,7 @@ class Temp extends Command | @@ -50,16 +49,7 @@ class Temp extends Command | ||
| 50 | 49 | ||
| 51 | public function handle() | 50 | public function handle() |
| 52 | { | 51 | { |
| 53 | - $list = ForwardCount::get(); | ||
| 54 | 52 | ||
| 55 | - foreach ($list as $value) { | ||
| 56 | - $day = $value->year . '-' . $value->month . '-' . $value->day; | ||
| 57 | - $value->created_at = date('Y-m-d 00:30:02', strtotime($day . ' +1 day')); | ||
| 58 | - $value->updated_at = date('Y-m-d 00:30:02', strtotime($day . ' +1 day')); | ||
| 59 | - $value->save(); | ||
| 60 | - } | ||
| 61 | - | ||
| 62 | - $this->output('success'); | ||
| 63 | } | 53 | } |
| 64 | 54 | ||
| 65 | /** | 55 | /** |
-
请 注册 或 登录 后发表评论