作者 lyh

gxgeo设置搜索历史记录

@@ -37,6 +37,9 @@ class GeoLinkLogic extends BaseLogic @@ -37,6 +37,9 @@ class GeoLinkLogic extends BaseLogic
37 */ 37 */
38 public function getLinkList($map = [],$page = 1,$row = 20,$order = 'id'){ 38 public function getLinkList($map = [],$page = 1,$row = 20,$order = 'id'){
39 $filed = ['*']; 39 $filed = ['*'];
  40 + if(isset($map['url']) && !empty($map['url'])){
  41 + $map['url'] = ['like','%'.$map['url'].'%'];
  42 + }
40 $lists = $this->model->lists($map,$page,$row,$order,$filed); 43 $lists = $this->model->lists($map,$page,$row,$order,$filed);
41 return $this->success($lists); 44 return $this->success($lists);
42 } 45 }