|
...
|
...
|
@@ -39,11 +39,13 @@ class GeoLinkLogic extends BaseLogic |
|
|
|
* @time :2025/7/14 16:47
|
|
|
|
*/
|
|
|
|
public function getLinkList($map = [],$page = 1,$row = 20,$order = 'id'){
|
|
|
|
$filed = ['*'];
|
|
|
|
if(isset($map['url']) && !empty($map['url'])){
|
|
|
|
$map['url'] = ['like','%'.$map['url'].'%'];
|
|
|
|
}
|
|
|
|
$lists = $this->model->lists($map,$page,$row,$order,$filed);
|
|
|
|
if(!isset($map['type']) || empty($map['type'])){
|
|
|
|
$map['type'] = GeoLink::TYPE_NEWS;
|
|
|
|
}
|
|
|
|
$lists = $this->model->lists($map,$page,$row,$order,['*']);
|
|
|
|
return $this->success($lists);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|