|
@@ -116,7 +116,7 @@ class CmsContentTemplateSetRepository
|
|
|
|
|
|
public function getTemplate($cityId)
|
|
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)
|
|
public function productList($request)
|