作者 lyh

gx

... ... @@ -37,6 +37,7 @@ class GoogleSearchController extends BaseController
$searchDetailModel = new GoogleSearchDetail();
$this->map['project_id']= $this->user['project_id'];
$data = $searchDetailModel->lists($this->map,$this->page,$this->row);
if(!empty($data)){
if($this->param['type'] == 'country'){
$country = [];
foreach ($data as $val){
... ... @@ -48,6 +49,7 @@ class GoogleSearchController extends BaseController
$data[$key] = $val;
}
}
}
$this->response('success',Code::SUCCESS,$data);
}
}
... ...