Browse Source

no message

duqinya 6 years ago
parent
commit
c3494c41f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Repositories/CmsContentTemplateRepository.php

+ 1 - 1
app/Repositories/CmsContentTemplateRepository.php

@@ -32,7 +32,7 @@ class CmsContentTemplateRepository {
                 'status','=',$request['status'],
             ];
         }
-        return $this->cmsContentTemplate->where($where)->groupBy('city_id','apply_type')->orderBy('id', 'asc')->paginate($perPage);
+        return $this->cmsContentTemplate->where($where)->where('status',1)->orderBy('id', 'asc')->paginate($perPage);
 
 
     }