作者 lyh

gx

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