Selaa lähdekoodia

修改返回参数

duqinya 6 vuotta sitten
vanhempi
commit
1877e0086c
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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'] =[];
         }