Authored by 毕凯

Merge remote-tracking branch 'origin/hotfix/crt-adrs-url-encd' into release/5.1

@@ -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'];
@@ -303,7 +303,8 @@ class IndexController extends AbstractAction @@ -303,7 +303,8 @@ class IndexController extends AbstractAction
303 $this->auditJumpLogin(); 303 $this->auditJumpLogin();
304 304
305 // 返回地址 305 // 返回地址
306 - $returnUrl = Helpers::url('/cart/index/index'); 306 +// $returnUrl = Helpers::url('/cart/index/index');
  307 + $returnUrl = 'javascript:history.go(-1);';
307 $cartType = $this->get('cartType', 'ordinary'); 308 $cartType = $this->get('cartType', 'ordinary');
308 $cookieData = $this->getCookie('order-info', null); 309 $cookieData = $this->getCookie('order-info', null);
309 $orderInfo = array(); 310 $orderInfo = array();