Authored by 郝肖肖

Merge branch 'hotfix/payNotUrlHttp'

@@ -58,7 +58,7 @@ class AliwapService @@ -58,7 +58,7 @@ class AliwapService
58 'out_trade_no' => $params->orderCode, 58 'out_trade_no' => $params->orderCode,
59 'subject' => $params->goodsName, 59 'subject' => $params->goodsName,
60 'total_fee' => $params->totalFee / 100, //单位为元 60 'total_fee' => $params->totalFee / 100, //单位为元
61 - "show_url" => Helpers::url(''), 61 + "show_url" => Helpers::transHttpsUrl(Helpers::url('')),
62 ); 62 );
63 63
64 ksort($parameter); 64 ksort($parameter);
@@ -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