浏览代码

修改返回参数

duqinya 6 年之前
父节点
当前提交
1877e0086c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Repositories/CmsContentTemplateSetRepository.php

+ 2 - 2
app/Repositories/CmsContentTemplateSetRepository.php

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