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
郝肖肖
8 years ago
Commit
4be55c30a08674eaadfb2c71a81561a8a8ff1cd8
1 parent
8966b404
添加?号表达式
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
View file @
4be55c3
...
...
@@ -680,7 +680,7 @@ class IndexController extends AbstractAction
/* tar modified 161108 添加新的联盟数据处理逻辑,兼容原有联盟数据处理,
区别是旧的北京写 cookie 加密过来,新的 node 写 cookie,没有加密 */
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
{
$encryData
=
trim
(
Encryption
::
decrypt
(
urldecode
(
$_COOKIE
[
'_QYH_UNION'
])));
$extraIndex
=
strrpos
(
$encryData
,
'}'
)
+
1
;
...
...
Please
register
or
login
to post a comment