Toggle navigation
Toggle navigation
This project
Loading...
Sign in
chenchao
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
hf
2016-03-12 20:28:24 +0800
Commit
6bfbaca0dc9a82d4d7fc58d56b6ef544326a7d40
1 parent
844ff95b
code review by fei.hong: do modify cartData call api get to post
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
library/LibModels/Web/Home/CartData.php
yohobuy/www.yohobuy.com/application/models/Index/Home.php
library/LibModels/Web/Home/CartData.php
View file @
6bfbaca
...
...
@@ -386,7 +386,7 @@ class CartData
$param
[
'remark'
]
=
$remark
;
$param
[
'client_secret'
]
=
Sign
::
getSign
(
$param
);
return
Yohobuy
::
pos
t
(
Yohobuy
::
API_URL
,
$param
,
false
,
false
,
10
,
$userAgent
);
return
Yohobuy
::
ge
t
(
Yohobuy
::
API_URL
,
$param
,
false
,
false
,
10
,
$userAgent
);
}
/**
...
...
yohobuy/www.yohobuy.com/application/models/Index/Home.php
View file @
6bfbaca
...
...
@@ -67,7 +67,7 @@ class HomeModel
$menu
=
Cache
::
get
(
$key
);
//数据缓存不存在
if
(
empty
(
$menu
))
{
$data
=
IndexData
::
getNavData
();
$data
=
IndexData
::
getNavData
();
//接口存在数据
if
(
!
empty
(
$data
[
'data'
]))
{
$item
=
array
();
...
...
Please
register
or
login
to post a comment