|
...
|
...
|
@@ -61,7 +61,9 @@ class BTemplateLogLogic extends BaseLogic |
|
|
|
$commonTemplateModel = new BTemplateCommon();
|
|
|
|
$commonTemplateModel->edit($commonData,['template_id'=>$info['template_id'],'type'=>1,'project_id'=>$this->user['project_id']]);
|
|
|
|
//更新所有界面的other
|
|
|
|
$commonTemplateModel->edit(['other'=>$info['other']],['project_id'=>$this->user['project_id'],'template_id'=>$info['template_id']]);
|
|
|
|
if(!empty($info['other'])){
|
|
|
|
$commonTemplateModel->edit(['other'=>$info['other']],['project_id'=>$this->user['project_id'],'template_id'=>$info['template_id']]);
|
|
|
|
}
|
|
|
|
}catch (\Exception $e){
|
|
|
|
$this->fail('系统错误,请联系管理员');
|
|
|
|
}
|
...
|
...
|
|