|
...
|
...
|
@@ -170,7 +170,11 @@ class CustomTemplateLogic extends BaseLogic |
|
|
|
* @method :post
|
|
|
|
* @time :2023/7/21 18:08
|
|
|
|
*/
|
|
|
|
public function getBodyHeaderFooter($preg_html = "<main></main>",$html_style = "<style id='globalsojs-styles'></style>"){
|
|
|
|
public function getBodyHeaderFooter($preg_html,$html_style){
|
|
|
|
if(!empty($preg_html)){
|
|
|
|
$preg_html = "<main></main>";
|
|
|
|
$html_style = "<style id='globalsojs-styles'></style>";
|
|
|
|
}
|
|
|
|
//获取设置的默认模版
|
|
|
|
$bSettingModel = new Setting();
|
|
|
|
$info = $bSettingModel->read(['project_id'=>$this->user['project_id']]);
|
...
|
...
|
|