作者 lyh

GXgeo设置

@@ -72,7 +72,7 @@ class GeoQuestionResController extends BaseController @@ -72,7 +72,7 @@ class GeoQuestionResController extends BaseController
72 'project_id.required' => 'project_id不能为空', 72 'project_id.required' => 'project_id不能为空',
73 'type.required' => '品牌类型不能为空' 73 'type.required' => '品牌类型不能为空'
74 ]); 74 ]);
75 - $data = $this->logic->getResultList($this->map,$this->page,$this->row,$this->order); 75 + $data = $this->logic->getResultList($this->map,$this->page,$this->row);
76 $this->response('success',Code::SUCCESS,$data); 76 $this->response('success',Code::SUCCESS,$data);
77 } 77 }
78 78
@@ -42,7 +42,7 @@ class GeoQuestionResLogic extends BaseLogic @@ -42,7 +42,7 @@ class GeoQuestionResLogic extends BaseLogic
42 * @method :post 42 * @method :post
43 * @time :2025/7/4 9:48 43 * @time :2025/7/4 9:48
44 */ 44 */
45 - public function getResultList($map = [],$page = 1,$row = 20,$order = 'id'){ 45 + public function getResultList($map = [],$page = 1,$row = 20){
46 $filed = ['id','project_id','question_id','platform','question','keywords','url','created_at','updated_at']; 46 $filed = ['id','project_id','question_id','platform','question','keywords','url','created_at','updated_at'];
47 $map['keywords'] = ['!=','[]']; 47 $map['keywords'] = ['!=','[]'];
48 $map['url'] = ['!=','[]']; 48 $map['url'] = ['!=','[]'];