|
...
|
...
|
@@ -198,7 +198,7 @@ class ATemplateLogic extends BaseLogic |
|
|
|
$bSettingModel = new Setting();
|
|
|
|
$info = $bSettingModel->read(['project_id'=>$this->param['project_id']],['template_id']);
|
|
|
|
if($info !== false){
|
|
|
|
$data = $this->model->read(['template_id'=>$info['template_id']],['id','name']);
|
|
|
|
$data = $this->model->read(['id'=>$info['template_id']],['id','name']);
|
|
|
|
}
|
|
|
|
return $this->success($data);
|
|
|
|
}
|
...
|
...
|
|