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
a6055e5375f996dd533815c9d22956184b82a3a2
1 parent
611dc66e
数组纠正
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
View file @
a6055e5
...
...
@@ -695,16 +695,16 @@ class IndexController extends AbstractAction
/* 检查联盟参数是否有效 */
$unionInfo
=
empty
(
$unionKey
)
?
array
()
:
json_decode
(
$unionKey
,
true
);
}
else
{
$unionObj
=
[
"client_id"
:
$_COOKIE
[
'mkt_code'
]]
;
$unionObj
=
array
(
"client_id"
=>
$_COOKIE
[
'mkt_code'
])
;
if
(
!
empty
(
$_COOKIE
[
'union_data'
]))
{
$unionObj
=
array_merge
(
$unionObj
,
[
"union_data"
:
$_COOKIE
[
'union_data'
]]
);
$unionObj
=
array_merge
(
$unionObj
,
array
(
"union_data"
=>
$_COOKIE
[
'union_data'
])
);
}
$unionKey
=
json_encode
(
$unionObj
);
/* 检查联盟参数是否有效 */
$unionInfo
=
[
"client_id"
:
$_COOKIE
[
'mkt_code'
]]
;
$unionInfo
=
array
(
"client_id"
=>
$_COOKIE
[
'mkt_code'
])
;
}
/* 模拟APP的User-Agent */
...
...
Please
register
or
login
to post a comment