소스 검색

筛选已删除

duqinya 6 년 전
부모
커밋
7f34ae0c1e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Repositories/CmsContentTemplateSetRepository.php

+ 1 - 1
app/Repositories/CmsContentTemplateSetRepository.php

@@ -116,7 +116,7 @@ class CmsContentTemplateSetRepository
 
     public function getTemplate($cityId)
     {
-        return $this->cmsContentTemplate->where(['city_id' => $cityId, 'is_open' => 1,'status'=>1])->select('id','title', 'apply_type')->orderBy('apply_type', 'asc')->get();
+        return $this->cmsContentTemplate->where(['city_id' => $cityId, 'is_open' => 1,'status'=>1])->where('deleted_at', null)->select('id','title', 'apply_type')->orderBy('apply_type', 'asc')->get();
     }
 
     public function productList($request)