Authored by 郝肖肖

合hotfix 异步回调地址

@@ -35,7 +35,7 @@ class AliwapService @@ -35,7 +35,7 @@ class AliwapService
35 'partner' => $this->config->partner, 35 'partner' => $this->config->partner,
36 '_input_charset' => $this->config->input_charset, 36 '_input_charset' => $this->config->input_charset,
37 'notify_url' => Yohobuy::SERVICE_NOTIFY . $this->config->notify_url, 37 'notify_url' => Yohobuy::SERVICE_NOTIFY . $this->config->notify_url,
38 - 'return_url' => Helpers::url($this->config->return_url), 38 + 'return_url' => Helpers::transHttpsUrl(Helpers::url($this->config->return_url)),
39 /* 业务参数 */ 39 /* 业务参数 */
40 'payment_type' => $this->config->payment_type, 40 'payment_type' => $this->config->payment_type,
41 'seller_id' => $this->config->partner, 41 'seller_id' => $this->config->partner,
@@ -44,7 +44,7 @@ class AliwapService @@ -44,7 +44,7 @@ class AliwapService
44 'out_trade_no' => $params->orderCode, 44 'out_trade_no' => $params->orderCode,
45 'subject' => $params->goodsName, 45 'subject' => $params->goodsName,
46 'total_fee' => $params->totalFee / 100, //单位为元 46 'total_fee' => $params->totalFee / 100, //单位为元
47 - "show_url" => Helpers::url(''), 47 + "show_url" => Helpers::transHttpsUrl(Helpers::url('')),
48 ); 48 );
49 49
50 ksort($parameter); 50 ksort($parameter);
This diff could not be displayed because it is too large.
@@ -41,7 +41,7 @@ class PayController extends AbstractAction @@ -41,7 +41,7 @@ class PayController extends AbstractAction
41 /* 判断用户是否登录 */ 41 /* 判断用户是否登录 */
42 $uid = $this->getUid(true); 42 $uid = $this->getUid(true);
43 if (!$uid) { 43 if (!$uid) {
44 - $this->go( Helpers::url('/signin.html', array('refer' => $this->_request->server('HTTP_REFERER'))) ); 44 + $this->go( Helpers::url('/signin.html', array('refer' => $this->server('HTTP_REFERER', SITE_MAIN))));
45 break; 45 break;
46 } 46 }
47 47