POST api/localTour/comment/list
獲取評論列表
Request Information
URI Parameters
None.
Body Parameters
CommentRqContractName | Description | Type | Additional information |
---|---|---|---|
Cid |
酒店編碼、主題編碼 |
string |
None. |
MaxCount |
顯示最大評論數 |
integer |
None. |
PageSize |
每頁記錄數 |
integer |
None. |
PageNumber |
當頁頁碼 |
integer |
None. |
Source |
來源(tour/hotel) |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Cid": "sample string 1", "MaxCount": 2, "PageSize": 3, "PageNumber": 4, "Source": "sample string 5" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
獲取評論列表
ReturnResultOfCommentRpContractName | Description | Type | Additional information |
---|---|---|---|
data | CommentRpContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "recommendamt": 1, "commentlist": { "total_count": 1, "page": 2, "page_size": 3, "data_list": [ { "msgid": 1, "memberid": 2, "name": "sample string 3", "nationality": "sample string 4", "ip": "sample string 5", "pid": "sample string 6", "cid": "sample string 7", "score": 8.0, "score1": 9.0, "score2": 10.0, "score3": 11.0, "score4": 12.0, "title": "sample string 13", "message": "sample string 14", "filepath": "sample string 15", "publishdate": "2024-12-23T20:18:34.464205+08:00", "source": "sample string 17", "Email": "sample string 18", "author": "sample string 19", "state": 20 }, { "msgid": 1, "memberid": 2, "name": "sample string 3", "nationality": "sample string 4", "ip": "sample string 5", "pid": "sample string 6", "cid": "sample string 7", "score": 8.0, "score1": 9.0, "score2": 10.0, "score3": 11.0, "score4": 12.0, "title": "sample string 13", "message": "sample string 14", "filepath": "sample string 15", "publishdate": "2024-12-23T20:18:34.464205+08:00", "source": "sample string 17", "Email": "sample string 18", "author": "sample string 19", "state": 20 } ], "page_count": 1, "skip": 4 }, "goodrate": 2.1, "orgscore": 3.1, "orgscore1": 4.1, "orgscore2": 5.1, "orgscore3": 6.1, "orgscore4": 7.1 }, "code": 1, "message": "sample string 2" }