POST api/localTour/search/history/create
記錄搜索日志
Request Information
URI Parameters
None.
Body Parameters
SearchHistoryContract| Name | Description | Type | Additional information | 
|---|---|---|---|
| sid | integer | 
                             None.  | 
                |
| visitid | string | 
                             None.  | 
                |
| keyword | string | 
                             None.  | 
                |
| attid | integer | 
                             None.  | 
                |
| startdate | date | 
                             None.  | 
                |
| enddate | date | 
                             None.  | 
                |
| searchtime | date | 
                             None.  | 
                
Request Formats
application/json, text/json
            Sample:
        
{
  "memberid": 3,
  "sid": 1,
  "visitid": "sample string 2",
  "keyword": "sample string 4",
  "attid": 5,
  "startdate": "2025-11-04T18:51:55.3741262+08:00",
  "enddate": "2025-11-04T18:51:55.3741262+08:00",
  "searchtime": "2025-11-04T18:51:55.3741262+08:00"
}
        application/x-www-form-urlencoded
            Sample:
    
        
Response Information
Resource Description
記錄搜索日志
ReturnResultOfBoolean| Name | Description | Type | Additional information | 
|---|---|---|---|
| data | boolean | 
                             None.  | 
                |
| code | 
                         状态码:100成功,其他自定义  | 
                    integer | 
                             None.  | 
                
| message | 
                         提示消息  | 
                    string | 
                             None.  | 
                
Response Formats
application/json, text/json
            Sample:
{
  "data": true,
  "code": 2,
  "message": "sample string 3"
}