Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
周少峰
8 years ago
Commit
48a8503f212d2b7a698a645a9e740a1399e81ff4
1 parent
f43850ad
union data
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
yohobuy/www.yohobuy.com/application/models/Shopping/Cart.php
yohobuy/www.yohobuy.com/application/models/Shopping/Cart.php
View file @
48a8503
...
...
@@ -1078,7 +1078,7 @@ class CartModel
}
/* 检查联盟参数是否有效 */
$unionInfo
=
empty
(
$unionKey
)
?
array
()
:
json_decode
(
$unionKey
,
true
);
if
(
empty
(
$unionKey
)
&&
empty
(
$_COOKIE
[
'union_data'
])){
if
(
empty
(
$unionKey
)
&&
!
empty
(
$_COOKIE
[
'union_data'
])){
$unionKey
=
$_COOKIE
[
'union_data'
];
}
/* 模拟APP的User-Agent */
...
...
Please
register
or
login
to post a comment