|
@@ -69,24 +69,28 @@ type (
|
|
|
|
|
|
//保存筛选条件
|
|
//保存筛选条件
|
|
AddSearchScreen {
|
|
AddSearchScreen {
|
|
- UserId string `header:"userId"`
|
|
|
|
- AppId string `header:"appId"` //appId
|
|
|
|
- Type string `header:"type,optional"`
|
|
|
|
- Keywords string `json:"searchvalue"` //搜索词
|
|
|
|
- Publishtime string `json:"publishtime"` //发布时间
|
|
|
|
- City string `json:"city,optional"` //城市
|
|
|
|
- Area string `json:"area,optional"` //地区
|
|
|
|
- Subtype string `json:"subtype,optional"` //信息类型
|
|
|
|
- Minprice string `json:"minprice,optional"` //最低价格
|
|
|
|
- Maxprice string `json:"maxprice,optional"` //最高价格
|
|
|
|
- Industry string `json:"industry,optional"` //选中的行业
|
|
|
|
- SelectType string `json:"selectType"` //标题 or 全文
|
|
|
|
- Buyerclass string `json:"buyerclass,optional"` //采购单位行业
|
|
|
|
- Hasbuyertel string `json:"buyertel,optional"` //是否有采购电话
|
|
|
|
- Haswinnertel string `json:"winnertel,optional"` //是否有中标电话
|
|
|
|
- FileExists string `json:"fileExists,optional"` //附件
|
|
|
|
- Notkey string `json:"notkey,optional"` //排除词
|
|
|
|
- InKey string `json:"inkey,optional"`
|
|
|
|
|
|
+ UserId string `header:"userId"`
|
|
|
|
+ AppId string `header:"appId"` //appId
|
|
|
|
+ Type string `header:"type,optional"`
|
|
|
|
+ Keywords string `json:"searchvalue"` //搜索词
|
|
|
|
+ Publishtime string `json:"publishtime"` //发布时间
|
|
|
|
+ City string `json:"city,optional"` //城市
|
|
|
|
+ Area string `json:"area,optional"` //地区
|
|
|
|
+ Subtype string `json:"subtype,optional"` //信息类型
|
|
|
|
+ Minprice string `json:"minprice,optional"` //最低价格
|
|
|
|
+ Maxprice string `json:"maxprice,optional"` //最高价格
|
|
|
|
+ Industry string `json:"industry,optional"` //选中的行业
|
|
|
|
+ SelectType string `json:"selectType"` //标题 or 全文
|
|
|
|
+ Buyerclass string `json:"buyerclass,optional"` //采购单位行业
|
|
|
|
+ Hasbuyertel string `json:"buyertel,optional"` //是否有采购电话
|
|
|
|
+ Haswinnertel string `json:"winnertel,optional"` //是否有中标电话
|
|
|
|
+ FileExists string `json:"fileExists,optional"` //附件
|
|
|
|
+ Notkey string `json:"notkey,optional"` //排除词 关键词:排除词(副:五组,每组最多15个字符)
|
|
|
|
+ InKey string `json:"inkey,optional"`
|
|
|
|
+ SearchGroup int `json:"searchGroup,optional"` // 搜索分组:默认0:全部;1:招标采购公告;2:超前项目
|
|
|
|
+ SearchMode int `json:"searchMode,optional"` // 搜索模式:0:精准搜索;1:模糊搜索
|
|
|
|
+ WordsMode int `json:"wordsMode,optional"` // 搜索关键词模式;默认0:包含所有,1:包含任意
|
|
|
|
+ AdditionalWords string `json:"additionalWords,optional"` // 关键词:附加关键词(副:五组,每组最多15个字符)
|
|
}
|
|
}
|
|
//首页最新招标信息
|
|
//首页最新招标信息
|
|
NewestReq {
|
|
NewestReq {
|
|
@@ -109,6 +113,12 @@ type (
|
|
IncludedReq {
|
|
IncludedReq {
|
|
AppId string `header:"appId,default=10000"`
|
|
AppId string `header:"appId,default=10000"`
|
|
}
|
|
}
|
|
|
|
+ // 搜索/订阅 列表模式入参
|
|
|
|
+ SaveListModeReq {
|
|
|
|
+ UserId string `header:"userId"`
|
|
|
|
+ Mode int `json:"mode"` // 0-精简列表 1-详细列表
|
|
|
|
+ Type string `path:"type"` // search 搜索列表 subscribe 订阅列表
|
|
|
|
+ }
|
|
)
|
|
)
|
|
|
|
|
|
service bxbase-api {
|
|
service bxbase-api {
|
|
@@ -151,4 +161,7 @@ service bxbase-api {
|
|
@doc "收录情况"
|
|
@doc "收录情况"
|
|
@handler Included
|
|
@handler Included
|
|
post /jybx/base/included (IncludedReq) returns(CommonRes)
|
|
post /jybx/base/included (IncludedReq) returns(CommonRes)
|
|
|
|
+ // 列表模式选择接口
|
|
|
|
+ @handler SaveListMode
|
|
|
|
+ post /jybx/base/:type/saveListMode (SaveListModeReq) returns(CommonRes)
|
|
}
|
|
}
|