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
Email Patches
Plain Diff
Browse Files
Authored by
毕凯
9 years ago
Commit
e72f6be747b6f5ba2a8a9a7ab6a1c1255ef07ce7
1 parent
53de6ef0
对接 收货地址
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
static/js/shopping-cart/order-info.js
yohobuy/m.yohobuy.com/application/controllers/ShoppingCart.php
static/js/shopping-cart/order-info.js
View file @
e72f6be
...
...
@@ -3,12 +3,11 @@
* @author: bikai<kai.bi@yoho.cn>
* @date: 2015/12/14
*/
var
info
=
window
.
cookie
(
'order-info'
),
orderInfo
;
var
info
=
window
.
cookie
(
'order-info'
);
// info 必须是 JSON 字符串
try
{
info
=
JSON
.
parse
(
orderI
nfo
);
info
=
JSON
.
parse
(
i
nfo
);
}
catch
(
e
)
{
info
=
{};
}
...
...
yohobuy/m.yohobuy.com/application/controllers/ShoppingCart.php
View file @
e72f6be
...
...
@@ -149,7 +149,7 @@ class ShoppingCartController extends AbstractAction
$this
->
setNavHeader
(
'购物车'
);
$cartType
=
$this
->
post
(
'cartType'
,
'ordinary'
);
$cookieData
=
$this
->
getCookie
(
'order
I
nfo'
,
null
);
$cookieData
=
$this
->
getCookie
(
'order
-i
nfo'
,
null
);
$uid
=
$this
->
getUid
(
true
);
$data
=
array
(
'orderEnsurePage'
=>
true
,
...
...
Please
register
or
login
to post a comment