GET api/MallV720/GoodsComments?goodsId={goodsId}&page={page}&sign={sign}&stamp={stamp}
商品评论列表
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| goodsId | integer |
Default value is 0 |
|
| page | integer |
Default value is 1 |
|
| sign | string |
Default value is |
|
| stamp | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
ZaiMieApp.WebApi.ViewModel.ResultDataOfZaiMieApp.WebApi.ViewModel.GoodsComment| Name | Description | Type | Additional information |
|---|---|---|---|
| recordsetCount | integer |
None. |
|
| pageSize | integer |
None. |
|
| page | integer |
None. |
|
| allPage | integer |
None. |
|
| message | string |
None. |
|
| success | boolean |
None. |
|
| code | integer |
None. |
|
| data | Collection of ZaiMieApp.WebApi.ViewModel.GoodsComment |
None. |
Response Formats
application/json, text/json
Sample:
{
"recordsetCount": 1,
"pageSize": 2,
"page": 3,
"allPage": 4,
"message": "sample string 5",
"success": true,
"code": 7,
"data": [
{
"commentId": 1,
"content": "sample string 2",
"commentUser": {
"Id": 1,
"UserName": "sample string 2",
"nickname": "sample string 3",
"headerImage": "sample string 4"
},
"commentDate": "sample string 3"
},
{
"commentId": 1,
"content": "sample string 2",
"commentUser": {
"Id": 1,
"UserName": "sample string 2",
"nickname": "sample string 3",
"headerImage": "sample string 4"
},
"commentDate": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<ResultDataOfGoodsCommentPr2Hy9OI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel">
<allPage>4</allPage>
<code>7</code>
<data>
<GoodsComment>
<commentDate>sample string 3</commentDate>
<commentId>1</commentId>
<commentUser>
<Id>1</Id>
<UserName>sample string 2</UserName>
<headerImage>sample string 4</headerImage>
<nickname>sample string 3</nickname>
</commentUser>
<content>sample string 2</content>
</GoodsComment>
<GoodsComment>
<commentDate>sample string 3</commentDate>
<commentId>1</commentId>
<commentUser>
<Id>1</Id>
<UserName>sample string 2</UserName>
<headerImage>sample string 4</headerImage>
<nickname>sample string 3</nickname>
</commentUser>
<content>sample string 2</content>
</GoodsComment>
</data>
<message>sample string 5</message>
<page>3</page>
<pageSize>2</pageSize>
<recordsetCount>1</recordsetCount>
<success>true</success>
</ResultDataOfGoodsCommentPr2Hy9OI>