123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- package entity
- const (
- //角色
- Role_admin_system = 1 //系统管理员
- Role_admin_department = 2 //部门管理员
- )
- // KeyWord /*筛选条件--关键词*/
- type KeyWord struct {
- Keyword string `json:"keyword"` //关键词
- Appended []string `json:"appended"` //附加词
- Exclude []string `json:"exclude"` //排除词
- }
- // BiddingSearchParams /*招标信息搜索筛选条件*/
- type BiddingSearchParams struct {
- Id string `json:"id"`
- PublishTime string `json:"publishtime"` //发布时间
- Province []string `json:"province"` //地区-省份
- City []string `json:"city"` //地区-城市
- Region []string `json:"region"` //地区-省份+城市
- Industry []string `json:"industry"` //行业
- Keyword []KeyWord `json:"keywords"` //关键词
- Buyer []string `json:"buyer"` //招标单位(采购单位)
- BuyerClass []string `json:"buyerclass"` //采购单位类型
- HasBuyerTel string `json:"hasBuyertel"` //是否有采购单位电话
- Winner []string `json:"winner"` //中标单位
- HasWinnerTel string `json:"hasWinnertel"` //是否有中标单位电话
- ComeInTime int64 `json:"comeintime"` //入库时间(秒)
- OpenId string `json:"openid"` //用户openid
- MinPrice string `json:"minprice"` //金额——最少
- MaxPrice string `json:"maxprice"` //金额——最多
- SelectType string `json:"selectType"` //筛选(正文 or 标题)
- Subtype string `json:"subtype"` //信息类型
- Toptype string `json:"toptype,omitempty"` //信息类型-一级分类
- SelectIds []string `json:"selectId"` //选择信息导出
- ComeInFrom string `json:"comeinfrom"` //查询来源
- FileExists string `json:"fileExists"` //是否有附件
- SearchTypeSwitch bool `json:"searchTypeSwitch"` //是否开启 正文 标题同时搜索只搜正文的开关
- PageNum int64 `json:"pageNum,omitempty"` //当前页码
- PageSize int64 `json:"pageSize,omitempty"` //每页数量
- Price string `json:"price,omitempty"` //价格
- UserId string `json:"userId,omitempty"` //用户id
- }
|