|
...
|
...
|
@@ -42,7 +42,7 @@ class ProductFileUpload extends Command |
|
|
|
$project_id = $this->argument('project_id');
|
|
|
|
ProjectServer::useProject($project_id);
|
|
|
|
$productModel = new Product();
|
|
|
|
$lists = $productModel->list(['status'=>1,'id'=>['<=',106]]);
|
|
|
|
$lists = $productModel->list(['status'=>1,'id'=>['in',[6,7,8]]]);
|
|
|
|
foreach ($lists as $k => $v){
|
|
|
|
if(!empty($v['files']) && !empty($v['files']['url'])){
|
|
|
|
$url = str_replace_url($v['files']['url']);
|
...
|
...
|
|