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
hf
9 years ago
Commit
f5e0d496c932890e0d636e3c5e780763f30a7c9b
1 parent
3c2e1cd0
do modify product detail page call comments list api to old
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
library/LibModels/Wap/Product/DetailData.php
library/LibModels/Wap/Product/DetailData.php
View file @
f5e0d49
...
...
@@ -67,7 +67,7 @@ class DetailData
public
static
function
consultList
(
$productId
,
$pageNum
,
$pageSize
)
{
$param
=
Yohobuy
::
param
();
$param
[
'method'
]
=
'
app.commen
t.li'
;
$param
[
'method'
]
=
'
h5.consul
t.li'
;
$param
[
'product_id'
]
=
$productId
;
$param
[
'page'
]
=
$pageNum
;
$param
[
'limit'
]
=
$pageSize
;
...
...
@@ -87,7 +87,15 @@ class DetailData
*/
public
static
function
commentList
(
$productId
,
$pageNum
,
$pageSize
)
{
// 暂未提供提口
$param
=
Yohobuy
::
param
();
$param
[
'method'
]
=
'app.comment.li'
;
$param
[
'product_id'
]
=
$productId
;
$param
[
'page'
]
=
$pageNum
;
$param
[
'limit'
]
=
$pageSize
;
$param
[
'client_secret'
]
=
Sign
::
getSign
(
$param
);
return
Yohobuy
::
get
(
Yohobuy
::
API_URL
,
$param
);
}
/**
...
...
Please
register
or
login
to post a comment