|
@@ -168,7 +168,7 @@ class BTemplateLogic extends BaseLogic |
|
@@ -168,7 +168,7 @@ class BTemplateLogic extends BaseLogic |
|
168
|
if ($source == 3) {if ($source_id != 0) {$type = 4;} else {$type = 5;}}
|
168
|
if ($source == 3) {if ($source_id != 0) {$type = 4;} else {$type = 5;}}
|
|
169
|
if ($source == 4) {if ($source_id != 0) {$type = 6;} else {$type = 7;}}
|
169
|
if ($source == 4) {if ($source_id != 0) {$type = 6;} else {$type = 7;}}
|
|
170
|
if ($source == 5) {$type = 8;}
|
170
|
if ($source == 5) {$type = 8;}
|
|
171
|
- //查询有没有公共模板详情样式
|
171
|
+ //查询有没有公共详情模板
|
|
172
|
$bTemplateMainModel = new BTemplateMain();
|
172
|
$bTemplateMainModel = new BTemplateMain();
|
|
173
|
$mainInfo = $bTemplateMainModel->read(['project_id'=>$this->user['project_id'],'type'=>$type]);
|
173
|
$mainInfo = $bTemplateMainModel->read(['project_id'=>$this->user['project_id'],'type'=>$type]);
|
|
174
|
if($mainInfo === false){
|
174
|
if($mainInfo === false){
|