作者 lyh

gx

@@ -34,12 +34,6 @@ class ReplaceHtmlLogic extends BaseLogic @@ -34,12 +34,6 @@ class ReplaceHtmlLogic extends BaseLogic
34 */ 34 */
35 public function replaceHtml(){ 35 public function replaceHtml(){
36 ProjectServer::useProject($this->param['project_id']); 36 ProjectServer::useProject($this->param['project_id']);
37 - $type = $this->getCustomizedType($this->param['type'], $this->param['is_list']);//获取定制界面类型  
38 - //查看当前页面是否定制,是否开启可视化  
39 - $page_array = (array)$this->user['is_visualization']->page_array;//获取所有定制界面  
40 - if (in_array($type, $page_array)) {//当前页面是定制界面  
41 - $this->param['template_id'] = 0;  
42 - }  
43 $replaceId = $this->saveReplaceHtml($this->param); 37 $replaceId = $this->saveReplaceHtml($this->param);
44 //TODO::生成一条任务记录 38 //TODO::生成一条任务记录
45 //查询当前所有装修的 39 //查询当前所有装修的