作者 lyh

gx

@@ -213,7 +213,7 @@ class UpdateRoute extends Command @@ -213,7 +213,7 @@ class UpdateRoute extends Command
213 213
214 public function getProduct(){ 214 public function getProduct(){
215 $productModel = new Product(); 215 $productModel = new Product();
216 - $lists = $productModel->list(['status'=>1,['id'=>['<=',501]]]); 216 + $lists = $productModel->list(['status'=>1,'id'=>['<=',501]]);
217 if(!empty($lists)){ 217 if(!empty($lists)){
218 foreach ($lists as $v){ 218 foreach ($lists as $v){
219 if(!empty($v['route'])){ 219 if(!empty($v['route'])){