作者 lyh

gx

@@ -225,7 +225,7 @@ class BTemplateLogic extends BaseLogic @@ -225,7 +225,7 @@ class BTemplateLogic extends BaseLogic
225 */ 225 */
226 public function saveCommonTemplate($param){ 226 public function saveCommonTemplate($param){
227 $templateCommonModel = new BTemplateCommon(); 227 $templateCommonModel = new BTemplateCommon();
228 - $info = $templateCommonModel->read(['template_id'=>$param['template_id'],'project_id'=>$this->user['project_id'],'type'=>$param['source']]); 228 + $info = $templateCommonModel->read(['template_id'=>$param['template_id'],'project_id'=>$this->user['project_id'],'type'=>1]);
229 $data = [ 229 $data = [
230 'head_html'=>$param['head_html'], 230 'head_html'=>$param['head_html'],
231 'head_css'=>$param['head_css'], 231 'head_css'=>$param['head_css'],