|
@@ -90,7 +90,7 @@ class VisualizationLogic extends BaseLogic |
|
@@ -90,7 +90,7 @@ class VisualizationLogic extends BaseLogic |
|
90
|
$typeArray = [1,3,5,7];//单页数据
|
90
|
$typeArray = [1,3,5,7];//单页数据
|
|
91
|
if(in_array($type,$typeArray)){
|
91
|
if(in_array($type,$typeArray)){
|
|
92
|
$bTemplateModel = new BTemplate();
|
92
|
$bTemplateModel = new BTemplate();
|
|
93
|
- $templateInfo = $bTemplateModel->read(['source'=>$source,'template_id'=>0]);
|
93
|
+ $templateInfo = $bTemplateModel->read(['source'=>$source,'source'=>$source_id,'template_id'=>0]);
|
|
94
|
if($templateInfo === false){
|
94
|
if($templateInfo === false){
|
|
95
|
$data = [
|
95
|
$data = [
|
|
96
|
'html'=>$this->param['html'],
|
96
|
'html'=>$this->param['html'],
|