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
2c6cf784404feeb05aa2e8614d508dd4ac6b096a
2 parents
d64ca06b
0e602e56
Merge branch 'feature/balanceSwitch' of git.yoho.cn:fe/YOHOBUYWAP into feature/balanceSwitch
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 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 @
2c6cf78
...
...
@@ -976,7 +976,7 @@ class HomeController extends AbstractAction
}
// 如果新版开启,则跳到新版支付页
if
(
$this
->
getCacheBy
(
'zookeeper:/wap/pay/newPay'
)
===
'true'
)
{
/*
if ($this->getCacheBy('zookeeper:/wap/pay/newPay') === 'true') {
header('Location: ' . Helpers::url('/home/orders/paynew',
array(
'order_code' => $orderCode,
...
...
@@ -984,7 +984,7 @@ class HomeController extends AbstractAction
))
);
exit();
}
}
*/
/* 判断订单信息是否存在 */
$orderDetail
=
OrderModel
::
orderDetail
(
$orderCode
,
$this
->
_uid
,
$this
->
_usession
);
...
...
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
View file @
2c6cf78
...
...
@@ -51,7 +51,7 @@ class IndexController extends AbstractAction
// 如果新版开启,则跳到新版购物车
if
(
$this
->
getCacheBy
(
'zookeeper:/wap/pay/newCart'
)
===
'true'
)
{
header
(
'Location: '
.
Helpers
::
url
(
'/cart/index/
index
'
,
header
(
'Location: '
.
Helpers
::
url
(
'/cart/index/
new
'
,
array
(
'refer'
=>
$this
->
server
(
'HTTP_REFERER'
,
SITE_MAIN
)
))
...
...
Please
register
or
login
to post a comment