Authored by 郭成尧

url-encode

@@ -604,7 +604,7 @@ class UserModel @@ -604,7 +604,7 @@ class UserModel
604 // 处理地址数据 604 // 处理地址数据
605 if (isset($address['data']) && !empty($address['data'])) { 605 if (isset($address['data']) && !empty($address['data'])) {
606 foreach ($address['data'] as $key => $val) { 606 foreach ($address['data'] as $key => $val) {
607 - $address['data'][$key]['address_id'] = Encryption::encrypt($val['address_id']); 607 + $address['data'][$key]['address_id'] = urlencode(Encryption::encrypt($val['address_id']));
608 } 608 }
609 UdpLog::info('地址数据校验','uid'.$uid.'返回:'.json_encode($address)); 609 UdpLog::info('地址数据校验','uid'.$uid.'返回:'.json_encode($address));
610 $result = $address['data']; 610 $result = $address['data'];