正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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']); |
-
请 注册 或 登录 后发表评论