作者 lyh

gx

@@ -79,6 +79,7 @@ class Demo extends Command @@ -79,6 +79,7 @@ class Demo extends Command
79 //获取当前项目选择的模版 79 //获取当前项目选择的模版
80 $settingModel = new Setting(); 80 $settingModel = new Setting();
81 $settingInfo = $settingModel->read(['project_id'=>$project_id]); 81 $settingInfo = $settingModel->read(['project_id'=>$project_id]);
  82 + echo date('Y-m-d H:i:s') . '设置的模版:'.json_encode($settingInfo) . PHP_EOL;
82 if($settingInfo !== false){ 83 if($settingInfo !== false){
83 $templateCommonModel = new BTemplateCommon(); 84 $templateCommonModel = new BTemplateCommon();
84 $commonList = $templateCommonModel->list(['template_id'=>$settingModel['template_id'],'is_custom'=>0]); 85 $commonList = $templateCommonModel->list(['template_id'=>$settingModel['template_id'],'is_custom'=>0]);