作者 lyh

gx小语种监控

@@ -314,6 +314,10 @@ class KeywordLogic extends BaseLogic @@ -314,6 +314,10 @@ class KeywordLogic extends BaseLogic
314 if(!empty($productIdArr)){ 314 if(!empty($productIdArr)){
315 $productModel = new Product(); 315 $productModel = new Product();
316 $productList = $productModel->list(['id'=>['in',$productIdArr]],['id','title','route']); 316 $productList = $productModel->list(['id'=>['in',$productIdArr]],['id','title','route']);
  317 + foreach ($productList as $k => $v){
  318 + $v['route'] = $this->user['domain'].$v['route'];
  319 + $productList[$k] = $v;
  320 + }
317 } 321 }
318 return $this->success($productList); 322 return $this->success($productList);
319 } 323 }