|
@@ -79,14 +79,14 @@ class Address extends Base
|
|
$data['province_name'] = $temp[0] . '市';
|
|
$data['province_name'] = $temp[0] . '市';
|
|
$city = '';
|
|
$city = '';
|
|
unset($temp[0]);
|
|
unset($temp[0]);
|
|
- $city = implode('', $temp);
|
|
|
|
|
|
+ $city = implode('市', $temp);
|
|
} elseif (strstr($data['address'], '区')) {
|
|
} elseif (strstr($data['address'], '区')) {
|
|
$temp = explode('区', $data['address']);
|
|
$temp = explode('区', $data['address']);
|
|
$data['province_name'] = $temp[0] . '区';
|
|
$data['province_name'] = $temp[0] . '区';
|
|
|
|
|
|
$city = '';
|
|
$city = '';
|
|
unset($temp[0]);
|
|
unset($temp[0]);
|
|
- $city = implode('', $temp);
|
|
|
|
|
|
+ $city = implode('区', $temp);
|
|
}
|
|
}
|
|
|
|
|
|
if (strstr($city, '市')) {
|
|
if (strstr($city, '市')) {
|