作者 lyh

gx

@@ -176,7 +176,7 @@ class CustomTemplateLogic extends BaseLogic @@ -176,7 +176,7 @@ class CustomTemplateLogic extends BaseLogic
176 $data['type'] = $type; 176 $data['type'] = $type;
177 $templateCommonModel->add($data); 177 $templateCommonModel->add($data);
178 }else{ 178 }else{
179 - $templateCommonModel->edit($data,['id'=>$info['id']]); 179 + $templateCommonModel->edit($data,['id'=>$info['id'],'project_id'=>$this->user['project_id']]);
180 } 180 }
181 //更新所有界面的other 181 //更新所有界面的other
182 $templateCommonModel->edit(['other'=>$other],['project_id'=>$this->user['project_id']]); 182 $templateCommonModel->edit(['other'=>$other],['project_id'=>$this->user['project_id']]);