合并分支 'lyh-server' 到 'master'
变更数据 查看合并请求 !2996
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -35,7 +35,7 @@ class GeoPlatform extends Base | @@ -35,7 +35,7 @@ class GeoPlatform extends Base | ||
| 35 | public function getList(){ | 35 | public function getList(){ |
| 36 | // $data = Cache::get('geo_platform'); | 36 | // $data = Cache::get('geo_platform'); |
| 37 | // if(empty($data)){ | 37 | // if(empty($data)){ |
| 38 | - $data = $this->list(['status'=>$this::STATUS_ON],'sort',['name','en_name','icon','sort'],'asc'); | 38 | + $data = $this->list(['status'=>$this::STATUS_ON],'sort',['name','en_name','icon','sort'],'desc'); |
| 39 | Cache::put('geo_platform',$data,'12 * 3600'); | 39 | Cache::put('geo_platform',$data,'12 * 3600'); |
| 40 | // } | 40 | // } |
| 41 | return $data; | 41 | return $data; |
-
请 注册 或 登录 后发表评论