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
f49b6d4f2f347af40c3d2a8add3673291bc8f7d7
1 parent
4d758e02
添加?号表达式
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 @
f49b6d4
...
...
@@ -1064,7 +1064,7 @@ class CartModel
$unionKey
=
''
;
if
(
!
empty
(
$_COOKIE
[
'mkt_code'
])
||
!
empty
(
$_COOKIE
[
'_QYH_UNION'
]))
{
if
(
!
empty
(
$_COOKIE
[
'mkt_code'
]))
{
$unionKey
=
'{"client_id":'
.
(
strlen
(
$_COOKIE
[
'mkt_code'
])
>=
15
''
:
'800'
)
.
$_COOKIE
[
'mkt_code'
]
.
'}'
;
$unionKey
=
'{"client_id":'
.
(
strlen
(
$_COOKIE
[
'mkt_code'
])
>=
15
?
''
:
'800'
)
.
$_COOKIE
[
'mkt_code'
]
.
'}'
;
}
else
{
// 新平台统一来源
$unionKey
=
trim
(
Encryption
::
decrypt
(
urldecode
(
$_COOKIE
[
'_QYH_UNION'
])));
...
...
Please
register
or
login
to post a comment