|
...
|
...
|
@@ -35,7 +35,7 @@ class GeoPlatform extends Base |
|
|
|
public function getList(){
|
|
|
|
// $data = Cache::get('geo_platform');
|
|
|
|
// if(empty($data)){
|
|
|
|
$data = $this->list(['status'=>$this::STATUS_ON],'sort',['name','en_name','icon','sort'],'asc');
|
|
|
|
$data = $this->list(['status'=>$this::STATUS_ON],'sort',['name','en_name','icon','sort'],'desc');
|
|
|
|
Cache::put('geo_platform',$data,'12 * 3600');
|
|
|
|
// }
|
|
|
|
return $data;
|
...
|
...
|
|