|
@@ -2,24 +2,24 @@
|
|
package types
|
|
package types
|
|
|
|
|
|
type SearchReq struct {
|
|
type SearchReq struct {
|
|
- AppId string `json:"appId"`
|
|
|
|
|
|
+ AppId string `header:"appId"`
|
|
PageNum int64 `json:"pageNum"`
|
|
PageNum int64 `json:"pageNum"`
|
|
PageSize int64 `json:"pageSize"`
|
|
PageSize int64 `json:"pageSize"`
|
|
- KeyWords string `json:"keyWords"`
|
|
|
|
- Province string `json:"province"`
|
|
|
|
- City string `json:"city"`
|
|
|
|
- Subtype string `json:"subtype"`
|
|
|
|
- PublishTime string `json:"publishTime"`
|
|
|
|
- SelectType string `json:"selectType"`
|
|
|
|
- Price string `json:"price"`
|
|
|
|
- Industry string `json:"industry"`
|
|
|
|
- BuyerClass string `json:"buyerClass"`
|
|
|
|
- BuyerTel string `json:"buyerTel"`
|
|
|
|
- WinnerTel string `json:"winnerTel"`
|
|
|
|
- ExclusionWords string `json:"exclusionWords"`
|
|
|
|
- FileExists string `json:"fileExists"`
|
|
|
|
- UserType string `path:"userType"`
|
|
|
|
- SecondSearch bool `json:"secondSearch"`
|
|
|
|
|
|
+ KeyWords string `json:"keyWords,optional"`
|
|
|
|
+ Province string `json:"province,optional"`
|
|
|
|
+ City string `json:"city,optional"`
|
|
|
|
+ Subtype string `json:"subtype,optional"`
|
|
|
|
+ PublishTime string `json:"publishTime,optional"`
|
|
|
|
+ SelectType string `json:"selectType,optional"`
|
|
|
|
+ Price string `json:"price,optional"`
|
|
|
|
+ Industry string `json:"industry,optional"`
|
|
|
|
+ BuyerClass string `json:"buyerClass,optional"`
|
|
|
|
+ BuyerTel string `json:"buyerTel,optional"`
|
|
|
|
+ WinnerTel string `json:"winnerTel,optional"`
|
|
|
|
+ ExclusionWords string `json:"exclusionWords,optional"`
|
|
|
|
+ FileExists string `json:"fileExists,optional"`
|
|
|
|
+ UserType string `path:"userType,optional"`
|
|
|
|
+ SecondSearch bool `json:"secondSearch,optional"`
|
|
}
|
|
}
|
|
|
|
|
|
type CommonResp struct {
|
|
type CommonResp struct {
|
|
@@ -29,10 +29,10 @@ type CommonResp struct {
|
|
}
|
|
}
|
|
|
|
|
|
type SearchLimitReq struct {
|
|
type SearchLimitReq struct {
|
|
- AppId string `json:"appId"` //appid
|
|
|
|
- TimeOut int64 `json:"timeOut"` //过滤过期时间
|
|
|
|
- Count int64 `json:"count"` //并发量
|
|
|
|
- Flag int64 `json:"flag"` //开关 1:打开;-1:关闭;-2:重置
|
|
|
|
- Percentage int64 `json:"percentage"` //付费用户占比
|
|
|
|
- SearchType string `path:"searchType"` //get|update|
|
|
|
|
|
|
+ AppId string `header:"appId"` //appid
|
|
|
|
+ TimeOut int64 `json:"timeOut,optional"` //过滤过期时间
|
|
|
|
+ Count int64 `json:"count,optional"` //并发量
|
|
|
|
+ Flag int64 `json:"flag,optional"` //开关 1:打开;-1:关闭;-2:重置
|
|
|
|
+ Percentage int64 `json:"percentage,optional"` //付费用户占比
|
|
|
|
+ SearchType string `path:"searchType"` //get|update|
|
|
}
|
|
}
|