作者 lyh

gx

@@ -31,6 +31,9 @@ class CustomModuleContentController extends BaseController @@ -31,6 +31,9 @@ class CustomModuleContentController extends BaseController
31 ]); 31 ]);
32 $this->map['project_id'] = $this->user['project_id']; 32 $this->map['project_id'] = $this->user['project_id'];
33 $lists = $customModuleContent->lists($this->map,$this->page,$this->row,$this->order); 33 $lists = $customModuleContent->lists($this->map,$this->page,$this->row,$this->order);
  34 + foreach ($lists as $v){
  35 + //获取分类名称
  36 + }
34 $this->response('success',Code::SUCCESS,$lists); 37 $this->response('success',Code::SUCCESS,$lists);
35 } 38 }
36 39
@@ -353,7 +353,7 @@ class BTemplateLogic extends BaseLogic @@ -353,7 +353,7 @@ class BTemplateLogic extends BaseLogic
353 public function homeOrProduct($source,$source_id = ''){ 353 public function homeOrProduct($source,$source_id = ''){
354 if($source == BTemplate::SOURCE_HOME){ 354 if($source == BTemplate::SOURCE_HOME){
355 $type = 'index'; 355 $type = 'index';
356 - $route = ''; 356 + $route = 'index';
357 //路由映射 357 //路由映射
358 RouteMap::setRoute('index', RouteMap::SOURCE_PAGE, 0, $this->user['project_id']); 358 RouteMap::setRoute('index', RouteMap::SOURCE_PAGE, 0, $this->user['project_id']);
359 }else{ 359 }else{