|
...
|
...
|
@@ -57,7 +57,7 @@ class VisualizationLogic extends BaseLogic |
|
|
|
* @time :2023/11/15 10:12
|
|
|
|
*/
|
|
|
|
public function saveVisualization(){
|
|
|
|
try {
|
|
|
|
// try {
|
|
|
|
$type = $this->getType($this->param['source'],$this->param['source_id']);
|
|
|
|
$typeArray = [1,3,5,7];//单页数据
|
|
|
|
if(in_array($type,$typeArray)){
|
|
...
|
...
|
@@ -89,9 +89,9 @@ class VisualizationLogic extends BaseLogic |
|
|
|
$bTemplateMainModel->edit(['main_html'=>$this->param['html']],['id'=>$mainInfo['id']]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}catch (\Exception $e){
|
|
|
|
$this->fail('系统错误,请联系管理员');
|
|
|
|
}
|
|
|
|
// }catch (\Exception $e){
|
|
|
|
// $this->fail('系统错误,请联系管理员');
|
|
|
|
// }
|
|
|
|
return $this->success();
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|