|
@@ -44,7 +44,8 @@ class GeoLogic extends BaseLogic |
|
@@ -44,7 +44,8 @@ class GeoLogic extends BaseLogic |
|
44
|
* @time :2025/7/3 10:47
|
44
|
* @time :2025/7/3 10:47
|
|
45
|
*/
|
45
|
*/
|
|
46
|
public function getType(){
|
46
|
public function getType(){
|
|
47
|
- $data = $this->model->brandType();
|
47
|
+ $data['type'] = $this->model->brandType();
|
|
|
|
48
|
+ $data['frequency'] = $this->model->frequency;
|
|
48
|
$geoPlatformModel = new GeoPlatform();
|
49
|
$geoPlatformModel = new GeoPlatform();
|
|
49
|
$data['platform'] = $geoPlatformModel->getList();
|
50
|
$data['platform'] = $geoPlatformModel->getList();
|
|
50
|
return $this->success($data);
|
51
|
return $this->success($data);
|
|
@@ -59,6 +60,10 @@ class GeoLogic extends BaseLogic |
|
@@ -59,6 +60,10 @@ class GeoLogic extends BaseLogic |
|
59
|
*/
|
60
|
*/
|
|
60
|
public function getGeoQuestionList($map,$page,$row,$order,$field = ['*']){
|
61
|
public function getGeoQuestionList($map,$page,$row,$order,$field = ['*']){
|
|
61
|
$data = $this->model->lists($map,$page,$row,$order,$field);
|
62
|
$data = $this->model->lists($map,$page,$row,$order,$field);
|
|
|
|
63
|
+ foreach ($data as $key => $item){
|
|
|
|
64
|
+ $item['type_name'] = $this->model->brandType()[$item['type']];
|
|
|
|
65
|
+ $data[$key] = $item;
|
|
|
|
66
|
+ }
|
|
62
|
return $this->success($data);
|
67
|
return $this->success($data);
|
|
63
|
}
|
68
|
}
|
|
64
|
|
69
|
|