正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -85,7 +85,7 @@ class BTemplateLogic extends BaseLogic | @@ -85,7 +85,7 @@ class BTemplateLogic extends BaseLogic | ||
| 85 | }else{ | 85 | }else{ |
| 86 | if($templateInfo['type'] == BTemplate::ALL_HTML){//返回整个html代码 | 86 | if($templateInfo['type'] == BTemplate::ALL_HTML){//返回整个html代码 |
| 87 | $type = $this->getCustomizedType($source, $source_id);//定制获取头部底部类型 | 87 | $type = $this->getCustomizedType($source, $source_id);//定制获取头部底部类型 |
| 88 | - $commonInfo = $this->getCommonPage(0,$this->user['project_id'],$type);//获取定制头部 | 88 | + $commonInfo = $this->getCommonPage($type,$this->user['project_id'],0);//获取定制头部 |
| 89 | $html = $this->handleAllHtml($commonInfo,$templateInfo['html']); | 89 | $html = $this->handleAllHtml($commonInfo,$templateInfo['html']); |
| 90 | return $this->success(['html'=>$html,'template_id'=>$template_id,'id'=>$templateInfo['id']]); | 90 | return $this->success(['html'=>$html,'template_id'=>$template_id,'id'=>$templateInfo['id']]); |
| 91 | } | 91 | } |
-
请 注册 或 登录 后发表评论