作者 李宇航

合并分支 'lyh-server' 到 'master'

gxgeo设置搜索历史记录



查看合并请求 !2427
... ... @@ -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],'id',['name','en_name','icon','sort'],'desc');
$data = $this->list(['status'=>$this::STATUS_ON],'id',['name','en_name','icon','sort'],'asc');
Cache::put('geo_platform',$data,'12 * 3600');
// }
return $data;
... ...