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