作者 lyh

gx

@@ -57,11 +57,11 @@ class ProductController extends BaseController @@ -57,11 +57,11 @@ class ProductController extends BaseController
57 $info = $templateSettingModel->read(['project_id'=>$this->user['project_id']]); 57 $info = $templateSettingModel->read(['project_id'=>$this->user['project_id']]);
58 $userModel = new User(); 58 $userModel = new User();
59 foreach ($lists['list'] as $k=>$v){ 59 foreach ($lists['list'] as $k=>$v){
60 - $v['url'] = $this->user['domain'].$v['route'].'/';  
61 $v['category_id_text'] = $this->categoryName($v['category_id'],$cate_data); 60 $v['category_id_text'] = $this->categoryName($v['category_id'],$cate_data);
62 $v['keyword_id_text'] = $this->keywordName($v['keyword_id'],$key_data); 61 $v['keyword_id_text'] = $this->keywordName($v['keyword_id'],$key_data);
63 $v['created_uid_text'] = $userModel->getName($v['created_uid']); 62 $v['created_uid_text'] = $userModel->getName($v['created_uid']);
64 $v['is_renovation'] = $this->getProductIsRenovation($info,$v['id']); 63 $v['is_renovation'] = $this->getProductIsRenovation($info,$v['id']);
  64 + $v['url'] = $this->user['domain'].$v['route'].'/';
65 $lists['list'][$k] = $v; 65 $lists['list'][$k] = $v;
66 } 66 }
67 } 67 }