Explorar o código

修改返回参数

duqinya %!s(int64=6) %!d(string=hai) anos
pai
achega
1877e0086c
Modificáronse 1 ficheiros con 2 adicións e 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'] =[];
         }