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
6911487917ce359933f95d2d5d1360be48c26d4a
1 parent
1bbea005
下单埋点mkt_code 长度判断
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 @
6911487
...
...
@@ -680,7 +680,7 @@ class IndexController extends AbstractAction
/* tar modified 161108 添加新的联盟数据处理逻辑,兼容原有联盟数据处理,
区别是旧的北京写 cookie 加密过来,新的 node 写 cookie,没有加密 */
if
(
!
empty
(
$_COOKIE
[
'mkt_code'
]))
{
$unionKey
=
'{"client_id":
800'
.
$_COOKIE
[
'mkt_code'
]
.
'}'
;
$unionKey
=
'{"client_id":
'
.
(
strlen
(
$_COOKIE
[
'mkt_code'
])
>=
15
''
:
'800'
)
.
$_COOKIE
[
'mkt_code'
]
.
'}'
;
}
else
{
$encryData
=
trim
(
Encryption
::
decrypt
(
$_COOKIE
[
'_QYH_UNION'
]));
$extraIndex
=
strrpos
(
$encryData
,
'}'
)
+
1
;
...
...
Please
register
or
login
to post a comment