|
@@ -41,7 +41,7 @@ class GoogleSearchController extends BaseController |
|
@@ -41,7 +41,7 @@ class GoogleSearchController extends BaseController |
|
41
|
if($this->param['type'] == 'country'){
|
41
|
if($this->param['type'] == 'country'){
|
|
42
|
$country = [];
|
42
|
$country = [];
|
|
43
|
foreach ($data['list'] as $val){
|
43
|
foreach ($data['list'] as $val){
|
|
44
|
- $country[] = Country::getCountryNameByAlpha3($val['keys']);
|
44
|
+ $country[] = Country::getCountryNameByAlpha3(strtoupper($val['keys']));
|
|
45
|
}
|
45
|
}
|
|
46
|
$zh_country = Translate::tran($country, 'zh');
|
46
|
$zh_country = Translate::tran($country, 'zh');
|
|
47
|
foreach ($data['list'] as $key => $val){
|
47
|
foreach ($data['list'] as $key => $val){
|