|
...
|
...
|
@@ -357,14 +357,11 @@ class BTemplateLogic extends BaseLogic |
|
|
|
*/
|
|
|
|
public function getCommonHtml($source,$is_list,$template_id,$is_custom = 0){
|
|
|
|
$type = $this->getType($source,$is_list,$is_custom);
|
|
|
|
if($template_id == 102){
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($type, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
}
|
|
|
|
$data = [
|
|
|
|
'template_id' => $template_id,
|
|
|
|
'project_id' => $this->user['project_id'],
|
|
|
|
'type'=>$type,
|
|
|
|
'is_custom'=>$is_custom,
|
|
|
|
'is_custom'=>0,
|
|
|
|
];
|
|
|
|
$commonTemplateModel = new BTemplateCommon();
|
|
|
|
$commonInfo = $commonTemplateModel->read($data);
|
...
|
...
|
|