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
07707633bf05113e322ce6f5946932dd2a37e654
1 parent
0c2a5745
addslashes uniondata
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 @
0770763
...
...
@@ -1074,7 +1074,7 @@ class CartModel
$unionKey
=
AuthCode
::
decode
(
$_COOKIE
[
'_QYH_UNION'
],
'q_union_yohobuy'
);
}
}
else
{
$unionKey
=
'{"client_id":'
.
$_COOKIE
[
'mkt_code'
]
.
(
$_COOKIE
[
'union_data'
]
?
', union_data: '
.
$_COOKIE
[
'union_data'
]
:
''
)
.
'}'
;
$unionKey
=
'{"client_id":'
.
$_COOKIE
[
'mkt_code'
]
.
(
$_COOKIE
[
'union_data'
]
?
', union_data: '
.
addslashes
(
$_COOKIE
[
'union_data'
])
:
''
)
.
'}'
;
}
/* 检查联盟参数是否有效 */
$unionInfo
=
empty
(
$unionKey
)
?
array
()
:
json_decode
(
$unionKey
,
true
);
...
...
Please
register
or
login
to post a comment