12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- syntax = "v1"
- info (
- title: "剑鱼核心模块" // TODO: add title
- desc: "标讯搜索,标讯详情等"// TODO: add description
- author: "wangshan"
- email: "wangshan@topnet.net.cn"
- )
- type (
- searchReq {
- AppId string `header:"appId"`
- PageNum int64 `json:"pageNum"`
- 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"`
- }
- //
- commonResp {
- Err_code int64 `json:"error_code"`
- Err_msg string `json:"error_msg"`
- Data interface{} `json:"data"`
- }
- //
- searchLimitReq {
- AppId string `header:"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|
- }
- )
- service bxcore-api {
- @handler searchList
- post /jybx/core/:userType/searchList(searchReq) returns (commonResp)
- @handler limitSearchContent
- post /jybx/core/:searchType/searchLimit(searchLimitReq) returns (commonResp)
- }
|