|
...
|
...
|
@@ -44,7 +44,8 @@ class GeoLogic extends BaseLogic |
|
|
|
* @time :2025/7/3 10:47
|
|
|
|
*/
|
|
|
|
public function getType(){
|
|
|
|
$data = $this->model->brandType();
|
|
|
|
$data['type'] = $this->model->brandType();
|
|
|
|
$data['frequency'] = $this->model->frequency;
|
|
|
|
$geoPlatformModel = new GeoPlatform();
|
|
|
|
$data['platform'] = $geoPlatformModel->getList();
|
|
|
|
return $this->success($data);
|
|
...
|
...
|
@@ -59,6 +60,10 @@ class GeoLogic extends BaseLogic |
|
|
|
*/
|
|
|
|
public function getGeoQuestionList($map,$page,$row,$order,$field = ['*']){
|
|
|
|
$data = $this->model->lists($map,$page,$row,$order,$field);
|
|
|
|
foreach ($data as $key => $item){
|
|
|
|
$item['type_name'] = $this->model->brandType()[$item['type']];
|
|
|
|
$data[$key] = $item;
|
|
|
|
}
|
|
|
|
return $this->success($data);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|