正在显示
1 个修改的文件
包含
1 行增加
和
7 行删除
| @@ -9,19 +9,13 @@ | @@ -9,19 +9,13 @@ | ||
| 9 | 9 | ||
| 10 | namespace App\Console\Commands\Project; | 10 | namespace App\Console\Commands\Project; |
| 11 | 11 | ||
| 12 | -use App\Enums\Common\Code; | ||
| 13 | use App\Helper\Common; | 12 | use App\Helper\Common; |
| 14 | use App\Models\Domain\DomainInfo; | 13 | use App\Models\Domain\DomainInfo; |
| 15 | use App\Models\Product\Category; | 14 | use App\Models\Product\Category; |
| 16 | use App\Models\Product\CategoryRelated; | 15 | use App\Models\Product\CategoryRelated; |
| 17 | use App\Models\Product\Detail; | 16 | use App\Models\Product\Detail; |
| 18 | use App\Models\Product\Product; | 17 | use App\Models\Product\Product; |
| 19 | -use App\Models\Project\Project; | ||
| 20 | use App\Models\RouteMap\RouteMap; | 18 | use App\Models\RouteMap\RouteMap; |
| 21 | -use App\Models\Template\BTemplate; | ||
| 22 | -use App\Models\Template\Setting; | ||
| 23 | -use App\Models\User\User; | ||
| 24 | -use App\Models\WebSetting\WebSettingSeo; | ||
| 25 | use App\Services\ProjectServer; | 19 | use App\Services\ProjectServer; |
| 26 | use Illuminate\Console\Command; | 20 | use Illuminate\Console\Command; |
| 27 | use Illuminate\Support\Facades\DB; | 21 | use Illuminate\Support\Facades\DB; |
| @@ -74,7 +68,7 @@ class DownloadProject extends Command | @@ -74,7 +68,7 @@ class DownloadProject extends Command | ||
| 74 | $v['category_id_text'] = $this->categoryName($v['id'],$cate_data); | 68 | $v['category_id_text'] = $this->categoryName($v['id'],$cate_data); |
| 75 | //ToDo::处理图片及文件 | 69 | //ToDo::处理图片及文件 |
| 76 | if(!empty($v['thumb']) && !empty($v['thumb']['url'])){ | 70 | if(!empty($v['thumb']) && !empty($v['thumb']['url'])){ |
| 77 | - $v['images'] = getImageUrl($v['thumb']['url'],$this->user['storage_type'] ?? 0,$this->user['project_location']); | 71 | + $v['images'] = getImageUrl($v['thumb']['url']); |
| 78 | }else{ | 72 | }else{ |
| 79 | $v['images'] = ''; | 73 | $v['images'] = ''; |
| 80 | } | 74 | } |
-
请 注册 或 登录 后发表评论