Explorar el Código

修改返回参数

duqinya hace 6 años
padre
commit
1877e0086c
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/Repositories/CmsContentTemplateSetRepository.php

+ 2 - 2
app/Repositories/CmsContentTemplateSetRepository.php

@@ -148,11 +148,11 @@ class CmsContentTemplateSetRepository {
         //团购首页
         $group_array = [];
         if ($request['type'] == 0){
-            $group_array['apply_type'] ="group";
+            $group_array['apply_type'] = 0;
             $group_array['title'] = $temalates->title;
             $group_array['content'] =[];
         }else{//菜市场首页
-            $group_array['apply_type'] ="market";
+            $group_array['apply_type'] = 1;
             $group_array['title'] = $temalates->title;
             $group_array['content'] =[];
         }