syntax = "v1" info ( title: "剑鱼采购单位模块" // TODO: add title desc: "采购单位画像,采购单位列表等"// TODO: add description author: "wangshan" email: "wangshan@topnet.net.cn" ) type ( buyerListReq { Province []string `json:"province"` //省份 City []string `json:"city"` //城市 BuyerClass []string `json:"buyerClass"` //客户类型(采购单位行业) Industry []string `json:"industry"` //行业分类(信息行业) BusinessScope []interface{} `json:"businessScope"` //业务范围(关键词 附加词 排除词) SortRule int `json:"sortRule"` //排序规则 KeysWords string `json:"keysWords"` //企业名称 AppId string `json:"appId"` //剑鱼10000 PageNum int64 `json:"pageNum"` //当前页码 PageSize int64 `json:"pageSize"` //每页数据量 UserType string `path:"userType"` //用户标签 IsCheckFollow bool `json:"isCheckFollow"` //是否查询关注信息(商机管理用户) IsCheckReceive bool `json:"isCheckReceive"` //是否查询已领取(商机管理用户) } // commonResp { Err_code int64 `json:"error_code"` Err_msg string `json:"error_msg"` Data interface{} `json:"data"` } ) service bxbuyer-api { @handler searchList post /jybx/buyer/:userType/buyerList(buyerListReq) returns (commonResp) }