|
...
|
...
|
@@ -94,6 +94,7 @@ class VisualizationLogic extends BaseLogic |
|
|
|
]);
|
|
|
|
try {
|
|
|
|
if($templateInfo === false){
|
|
|
|
$this->param['project_id'] = $this->user['project_id'];
|
|
|
|
$bTemplateModel->add($this->param);
|
|
|
|
}else{
|
|
|
|
$bTemplateModel->edit(['html'=>$this->param['html']],['source'=>$this->param['source'],'source_id'=>$this->param['source_id']]);
|
...
|
...
|
|