正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -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]); |
-
请 注册 或 登录 后发表评论