|
@@ -97,6 +97,6 @@ class CmsContentTemplateSetRepository {
|
|
}
|
|
}
|
|
|
|
|
|
public function getTemplate($cityId){
|
|
public function getTemplate($cityId){
|
|
- return $this->cmsContentTemplate->select('title','apply_type')->where(['city_id'=>$cityId,'is_open'=>0])->get();
|
|
|
|
|
|
+ return $this->cmsContentTemplate->select('title','apply_type')->where(['city_id'=>$cityId,'is_open'=>0])->orderBy('apply_type asc')->get();
|
|
}
|
|
}
|
|
}
|
|
}
|