GET api/localTour/search/history/list/{visitId}/{memberId}?displayCount={displayCount}
獲取搜索日志列表
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
visitId |
訪客ID |
string |
Required |
memberId |
会员编号 |
integer |
Required |
displayCount |
顯示記錄數 |
integer |
Default value is 10 |
Body Parameters
None.
Response Information
Resource Description
獲取搜索日志列表
ReturnResultOfListOfSearchHistoryContractName | Description | Type | Additional information |
---|---|---|---|
data | Collection of SearchHistoryContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": [ { "memberid": 3, "sid": 1, "visitid": "sample string 2", "keyword": "sample string 4", "attid": 5, "startdate": "2024-12-23T19:27:18.5246371+08:00", "enddate": "2024-12-23T19:27:18.5246371+08:00", "searchtime": "2024-12-23T19:27:18.5246371+08:00" }, { "memberid": 3, "sid": 1, "visitid": "sample string 2", "keyword": "sample string 4", "attid": 5, "startdate": "2024-12-23T19:27:18.5246371+08:00", "enddate": "2024-12-23T19:27:18.5246371+08:00", "searchtime": "2024-12-23T19:27:18.5246371+08:00" } ], "code": 1, "message": "sample string 2" }