...
|
...
|
@@ -30,7 +30,7 @@ class AddressModel |
|
|
$zip_code = (isset($val['zip_code']) || !empty($val['zip_code'])) ? $val['zip_code'] : '';
|
|
|
$result[$key]['address'] = $val['area'] . $val['address'] . ' ' . $zip_code; //地区,地址,邮编
|
|
|
$phone = (isset($val['phone']) || !empty($val['phone'])) ? $val['phone'] : '';
|
|
|
$mobile = (isset($val['mobile']) || !empty($val['mobile'])) ? substr_replace($val['mobile'], '****', 3, 4) : '';
|
|
|
$mobile = (isset($val['mobile']) || !empty($val['mobile'])) ? $val['mobile'] : '';
|
|
|
$result[$key]['phone'] = $mobile . ' ' . $phone; //手机号码,固定电话
|
|
|
$result[$key]['isPreferred'] = $val['is_default'] == 'Y' ? 'true' : ''; //默认地址
|
|
|
}
|
...
|
...
|
|