Ver código fonte

去掉多余

durong 5 anos atrás
pai
commit
0457bd4675

+ 0 - 1
app/Repositories/CmsContentTemplateSetRepository.php

@@ -573,7 +573,6 @@ class CmsContentTemplateSetRepository
         $count = count($all_subject);
         $new_rule = [];
         foreach ($all_subject as $k => $v) {
-            $new_rule[$k]['rule'] = [];
             if (count(json_decode($v['rule'])) > 0) {
                 $new_rule[$k]['area_type'] = $v['area_type'];
                 $new_rule[$k]['rule']['id'] = $v['id'];