正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -82,7 +82,7 @@ class Demo extends Command | @@ -82,7 +82,7 @@ class Demo extends Command | ||
| 82 | echo date('Y-m-d H:i:s') . '设置的模版:'.json_encode($settingInfo) . PHP_EOL; | 82 | echo date('Y-m-d H:i:s') . '设置的模版:'.json_encode($settingInfo) . PHP_EOL; |
| 83 | if($settingInfo !== false){ | 83 | if($settingInfo !== false){ |
| 84 | $templateCommonModel = new BTemplateCommon(); | 84 | $templateCommonModel = new BTemplateCommon(); |
| 85 | - $commonList = $templateCommonModel->list(['template_id'=>$settingInfo['template_id'],'is_custom'=>0]); | 85 | + $commonList = $templateCommonModel->list(['template_id'=>['in',[$settingInfo['template_id'],0]]]); |
| 86 | if(!empty($commonList)){ | 86 | if(!empty($commonList)){ |
| 87 | foreach ($commonList as $v){ | 87 | foreach ($commonList as $v){ |
| 88 | $typeArr = [1, 2, 3]; | 88 | $typeArr = [1, 2, 3]; |
-
请 注册 或 登录 后发表评论