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