作者 lyh

gx

... ... @@ -193,12 +193,12 @@ class BaseController extends Controller
$bSettingModel = new Setting();
$info = $bSettingModel->read(['project_id'=>$this->user['project_id']]);
if($info === false){
$this->fail('请先选择模版');
return $this->success($template_id);
}
$template_id = $info['template_id'];
return $this->success($template_id);
}
/**
* @remark :定制页面头部类型---根据source获取type类型
* @name :getType
... ...