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