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