Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
郝肖肖
8 years ago
Commit
538baf4f6d546454c93a425336b21e2e812143a0
2 parents
bd0f8c9f
78cd22a6
Merge branch 'feature/balanceSwitch' into gray
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
yohobuy/m.yohobuy.com/application/controllers/Home.php
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
yohobuy/m.yohobuy.com/application/controllers/Home.php
View file @
538baf4
...
...
@@ -977,13 +977,13 @@ class HomeController extends AbstractAction
// 如果新版开启,则跳到新版支付页
/*if ($this->getCacheBy('zookeeper:/wap/pay/newPay') === 'true') {
header('Location: ' . Helpers::url('/home/orders/paynew',
$this->go(
Helpers::url('/home/orders/paynew',
array(
'order_code' => $orderCode,
'refer' => $this->server('HTTP_REFERER', SITE_MAIN)
)), true, 302
'referrer' => $this->server('HTTP_REFERER', SITE_MAIN)
))
);
exit();
}*/
/* 判断订单信息是否存在 */
...
...
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
View file @
538baf4
...
...
@@ -51,12 +51,12 @@ class IndexController extends AbstractAction
// 如果新版开启,则跳到新版购物车
if
(
$this
->
getCacheBy
(
'zookeeper:/wap/pay/newCart'
)
===
'true'
)
{
header
(
'Location: '
.
Helpers
::
url
(
'/cart/index/new'
,
$this
->
go
(
Helpers
::
url
(
'/cart/index/new'
,
array
(
'refer'
=>
$this
->
server
(
'HTTP_REFERER'
,
SITE_MAIN
)
)),
true
,
302
'referrer'
=>
$this
->
server
(
'HTTP_REFERER'
,
SITE_MAIN
)
))
);
exit
();
}
$this
->
setTitle
(
'购物车'
);
...
...
Please
register
or
login
to post a comment