|
...
|
...
|
@@ -101,8 +101,8 @@ class BTemplateLogic extends BaseLogic |
|
|
|
$info = $this->model->read(
|
|
|
|
[
|
|
|
|
'project_id'=>$this->user['project_id'],
|
|
|
|
'source'=>$this->param['source'],
|
|
|
|
'source_id'=>$this->param['source_id'],
|
|
|
|
'source'=>$this->param['source'] ?? 'index',
|
|
|
|
'source_id'=>$this->param['source_id'] ?? 0,
|
|
|
|
'template_id'=>$this->param['template_id'],
|
|
|
|
]
|
|
|
|
);
|
|
...
|
...
|
@@ -135,4 +135,15 @@ class BTemplateLogic extends BaseLogic |
|
|
|
$this->param['head_css'] = characterTruncation($this->param['html'],'/<style id="vvvebjs-header">(.*?)<\/style>/s');
|
|
|
|
$this->param['footer_css'] = characterTruncation($this->param['html'],'/<style id="vvvebjs-footer">(.*?)<\/style>/s');
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @remark :获取类型
|
|
|
|
* @name :getModuleType
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2023/7/17 16:03
|
|
|
|
*/
|
|
|
|
public function getModuleType($type){
|
|
|
|
// $moduleTypeModel = new
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|