正在显示
4 个修改的文件
包含
4 行增加
和
7 行删除
| @@ -7,9 +7,8 @@ | @@ -7,9 +7,8 @@ | ||
| 7 | * @time :2024/6/18 14:53 | 7 | * @time :2024/6/18 14:53 |
| 8 | */ | 8 | */ |
| 9 | 9 | ||
| 10 | -namespace App\Console\Commands\Test; | 10 | +namespace App\Console\Commands\SyncFilesImage; |
| 11 | 11 | ||
| 12 | -use App\Models\File\ErrorFile; | ||
| 13 | use App\Models\File\File; | 12 | use App\Models\File\File; |
| 14 | use Illuminate\Console\Command; | 13 | use Illuminate\Console\Command; |
| 15 | 14 |
| @@ -7,11 +7,9 @@ | @@ -7,11 +7,9 @@ | ||
| 7 | * @time :2024/8/14 14:23 | 7 | * @time :2024/8/14 14:23 |
| 8 | */ | 8 | */ |
| 9 | 9 | ||
| 10 | -namespace App\Console\Commands\Test; | 10 | +namespace App\Console\Commands\SyncFilesImage; |
| 11 | 11 | ||
| 12 | -use App\Models\File\ErrorFile; | ||
| 13 | use App\Models\File\File; | 12 | use App\Models\File\File; |
| 14 | -use App\Models\File\Image; | ||
| 15 | use Illuminate\Console\Command; | 13 | use Illuminate\Console\Command; |
| 16 | 14 | ||
| 17 | class SyncTimeFiles extends Command | 15 | class SyncTimeFiles extends Command |
| @@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
| 7 | * @time :2024/8/14 13:50 | 7 | * @time :2024/8/14 13:50 |
| 8 | */ | 8 | */ |
| 9 | 9 | ||
| 10 | -namespace App\Console\Commands\Test; | 10 | +namespace App\Console\Commands\SyncFilesImage; |
| 11 | 11 | ||
| 12 | use App\Models\File\ErrorFile; | 12 | use App\Models\File\ErrorFile; |
| 13 | use Illuminate\Console\Command; | 13 | use Illuminate\Console\Command; |
| @@ -25,7 +25,7 @@ class VisitLogic extends BaseLogic | @@ -25,7 +25,7 @@ class VisitLogic extends BaseLogic | ||
| 25 | public function getVisitList($map,$page,$row,$order,$filed = ['*']) | 25 | public function getVisitList($map,$page,$row,$order,$filed = ['*']) |
| 26 | { | 26 | { |
| 27 | // $map['domain'] = $this->user['domain']; | 27 | // $map['domain'] = $this->user['domain']; |
| 28 | - if($map['is_inquiry'] == 0){ | 28 | + if(isset($map['is_inquiry']) && ($map['is_inquiry'] == 0)){ |
| 29 | unset($map['is_inquiry']); | 29 | unset($map['is_inquiry']); |
| 30 | } | 30 | } |
| 31 | $lists = $this->model->lists($map,$page,$row,$order,$filed); | 31 | $lists = $this->model->lists($map,$page,$row,$order,$filed); |
-
请 注册 或 登录 后发表评论