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
14053c40490fc4ec17443afc166ddcadf7c3f490
1 parent
00a8a752
联盟 下单 union_data 参数
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
View file @
14053c4
...
...
@@ -699,6 +699,10 @@ class IndexController extends AbstractAction
$unionInfo
=
empty
(
$unionKey
)
?
array
()
:
json_decode
(
$unionKey
,
true
);
/* 模拟APP的User-Agent */
$userAgent
=
isset
(
$unionInfo
[
'client_id'
])
?
'YOHO!Buy/3.8.2.259(Model/PC;Channel/'
.
$unionInfo
[
'client_id'
]
.
';uid/'
.
$uid
.
')'
:
null
;
if
(
empty
(
$unionKey
)
&&
!
empty
(
$_COOKIE
[
'union_data'
]))
{
$unionKey
=
$_COOKIE
[
'union_data'
];
}
}
/* tar modified 161206 套餐 */
...
...
Please
register
or
login
to post a comment