|
...
|
...
|
@@ -42,8 +42,6 @@ class CustomTemplateLogic extends BaseLogic |
|
|
|
public function customTemplateInfo(){
|
|
|
|
$info = $this->model->read(['id'=>$this->param['id']]);
|
|
|
|
$html = $this->getBodyHeaderFooter($info['html'],$info['html_style']);
|
|
|
|
var_dump($html);
|
|
|
|
die();
|
|
|
|
$info['html'] = $this->getHeadFooter($html);
|
|
|
|
if($info === false){
|
|
|
|
$this->fail('error');
|
|
...
|
...
|
@@ -117,6 +115,8 @@ class CustomTemplateLogic extends BaseLogic |
|
|
|
//获取设置的默认模版
|
|
|
|
$bSettingModel = new BSetting();
|
|
|
|
$info = $bSettingModel->read(['project_id'=>$this->user['project_id']]);
|
|
|
|
var_dump($info);
|
|
|
|
die();
|
|
|
|
//获取模板详情
|
|
|
|
$bTemplateModel = new BTemplate();
|
|
|
|
$TemplateInfo = $bTemplateModel->read([
|
...
|
...
|
|