|
...
|
...
|
@@ -9,19 +9,13 @@ |
|
|
|
|
|
|
|
namespace App\Console\Commands\Project;
|
|
|
|
|
|
|
|
use App\Enums\Common\Code;
|
|
|
|
use App\Helper\Common;
|
|
|
|
use App\Models\Domain\DomainInfo;
|
|
|
|
use App\Models\Product\Category;
|
|
|
|
use App\Models\Product\CategoryRelated;
|
|
|
|
use App\Models\Product\Detail;
|
|
|
|
use App\Models\Product\Product;
|
|
|
|
use App\Models\Project\Project;
|
|
|
|
use App\Models\RouteMap\RouteMap;
|
|
|
|
use App\Models\Template\BTemplate;
|
|
|
|
use App\Models\Template\Setting;
|
|
|
|
use App\Models\User\User;
|
|
|
|
use App\Models\WebSetting\WebSettingSeo;
|
|
|
|
use App\Services\ProjectServer;
|
|
|
|
use Illuminate\Console\Command;
|
|
|
|
use Illuminate\Support\Facades\DB;
|
|
...
|
...
|
@@ -74,7 +68,7 @@ class DownloadProject extends Command |
|
|
|
$v['category_id_text'] = $this->categoryName($v['id'],$cate_data);
|
|
|
|
//ToDo::处理图片及文件
|
|
|
|
if(!empty($v['thumb']) && !empty($v['thumb']['url'])){
|
|
|
|
$v['images'] = getImageUrl($v['thumb']['url'],$this->user['storage_type'] ?? 0,$this->user['project_location']);
|
|
|
|
$v['images'] = getImageUrl($v['thumb']['url']);
|
|
|
|
}else{
|
|
|
|
$v['images'] = '';
|
|
|
|
}
|
...
|
...
|
|