|
...
|
...
|
@@ -82,7 +82,7 @@ class Demo extends Command |
|
|
|
echo date('Y-m-d H:i:s') . '设置的模版:'.json_encode($settingInfo) . PHP_EOL;
|
|
|
|
if($settingInfo !== false){
|
|
|
|
$templateCommonModel = new BTemplateCommon();
|
|
|
|
$commonList = $templateCommonModel->list(['template_id'=>$settingInfo['template_id'],'is_custom'=>0]);
|
|
|
|
$commonList = $templateCommonModel->list(['template_id'=>['in',[$settingInfo['template_id'],0]]]);
|
|
|
|
if(!empty($commonList)){
|
|
|
|
foreach ($commonList as $v){
|
|
|
|
$typeArr = [1, 2, 3];
|
...
|
...
|
|