作者 lyh

gx

@@ -34,13 +34,13 @@ class CustomModuleContentController extends BaseController @@ -34,13 +34,13 @@ class CustomModuleContentController extends BaseController
34 $this->map['project_id'] = $this->user['project_id']; 34 $this->map['project_id'] = $this->user['project_id'];
35 $lists = $customModuleContent->lists($this->map,$this->page,$this->row,$this->order); 35 $lists = $customModuleContent->lists($this->map,$this->page,$this->row,$this->order);
36 if(!empty($lists)){ 36 if(!empty($lists)){
37 - $data = $this->getAllCategoryName();  
38 - foreach ($lists['list'] as $k=>$v){  
39 - $v['category_name'] = $this->categoryName($v['category_id'],$data);  
40 - $v['image_link'] = getImageUrl($v['image']);  
41 - $v['operator_name'] = (new User())->getName($v['operator_id']);  
42 - $lists['list'][$k] = $v;  
43 - } 37 +// $data = $this->getAllCategoryName();
  38 +// foreach ($lists['list'] as $k=>$v){
  39 +// $v['category_name'] = $this->categoryName($v['category_id'],$data);
  40 +// $v['image_link'] = getImageUrl($v['image']);
  41 +// $v['operator_name'] = (new User())->getName($v['operator_id']);
  42 +// $lists['list'][$k] = $v;
  43 +// }
44 } 44 }
45 $this->response('success',Code::SUCCESS,$lists); 45 $this->response('success',Code::SUCCESS,$lists);
46 } 46 }