作者 lyh

gx

@@ -357,6 +357,9 @@ class BTemplateLogic extends BaseLogic @@ -357,6 +357,9 @@ class BTemplateLogic extends BaseLogic
357 */ 357 */
358 public function getCommonHtml($source,$is_list,$template_id,$is_custom = 0){ 358 public function getCommonHtml($source,$is_list,$template_id,$is_custom = 0){
359 $type = $this->getType($source,$is_list,$is_custom); 359 $type = $this->getType($source,$is_list,$is_custom);
  360 + if($template_id == 102){
  361 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($type, true) . PHP_EOL, FILE_APPEND);
  362 + }
360 $data = [ 363 $data = [
361 'template_id' => $template_id, 364 'template_id' => $template_id,
362 'project_id' => $this->user['project_id'], 365 'project_id' => $this->user['project_id'],