bxcore.api 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. syntax = "v1"
  2. info (
  3. title: "剑鱼核心模块" // TODO: add title
  4. desc: "标讯搜索,标讯详情等"// TODO: add description
  5. author: "wangshan"
  6. email: "wangshan@topnet.net.cn"
  7. )
  8. type (
  9. searchReq {
  10. AppId string `json:"appId"`
  11. PageNum int64 `json:"pageNum"`
  12. PageSize int64 `json:"pageSize"`
  13. KeyWords string `json:"keyWords"`
  14. Province string `json:"province"`
  15. City string `json:"city"`
  16. Subtype string `json:"subtype"`
  17. PublishTime string `json:"publishTime"`
  18. SelectType string `json:"selectType"`
  19. Price string `json:"price"`
  20. Industry string `json:"industry"`
  21. BuyerClass string `json:"buyerClass"`
  22. BuyerTel string `json:"buyerTel"`
  23. WinnerTel string `json:"winnerTel"`
  24. ExclusionWords string `json:"exclusionWords"`
  25. FileExists string `json:"fileExists"`
  26. }
  27. //
  28. commonResp {
  29. Err_code int64 `json:"error_code"`
  30. Err_msg string `json:"error_msg"`
  31. Data interface{} `json:"data"`
  32. }
  33. )
  34. service bxcore-api {
  35. @handler searchList
  36. post /jybx/core/:userType/searchList(searchReq) returns (commonResp)
  37. }