apitest.http 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. // 接口测试用例
  2. ### 搜索/订阅 列表模式保存
  3. POST http://{{addr}}/jybx/base/subscribe/saveListMode
  4. Content-Type: application/json
  5. UserId:test20130110
  6. {
  7. "mode": 1
  8. }
  9. ### 搜索/订阅 列表模式获取
  10. POST http://{{ addr }}/jybx/base/subscribe/showListMode
  11. Content-Type: application/json
  12. UserId:test20130110
  13. ### 校验筛选条件是否重复保存
  14. POST http://{{addr}}/jybx/base/checkSearchScreen
  15. Content-Type: application/json
  16. UserId:test20130110
  17. appId:10000
  18. {
  19. "searchvalue": "景山公园 天坛 地坛 陶然亭 颐和园",
  20. "selectType": "content,title,buyer",
  21. "industry": "建筑工程_材料设备,建筑工程_工程施工,建筑工程_勘察设计,建筑工程_监理咨询,建筑工程_机电安装",
  22. "minprice": "",
  23. "maxprice": "",
  24. "publishtime": "fiveyear",
  25. "subtype": "",
  26. "buyerclass": "交通",
  27. "buyertel": "y",
  28. "winnertel": "y",
  29. "notkey": "医院",
  30. "fileExists": "0",
  31. "area": "北京",
  32. "city": "",
  33. "searchGroup": "0",
  34. "searchMode": "1",
  35. "wordsMode": "1",
  36. "additionalWords": "九龙山 医院 "
  37. }
  38. ### 筛选条件保存
  39. POST http://{{addr}}/jybx/base/addSearchScreen
  40. Content-Type: application/json
  41. Cookie: SESSIONID=4b0dfa144d8cfa0c899e7281ff00656291d621db
  42. {
  43. "searchvalue": "景山公园 天坛 地坛 陶然亭 颐和园",
  44. "selectType": "content,title,buyer",
  45. "industry": "建筑工程_材料设备,建筑工程_工程施工,建筑工程_勘察设计,建筑工程_监理咨询,建筑工程_机电安装",
  46. "minprice": "",
  47. "maxprice": "",
  48. "publishtime": "fiveyear",
  49. "subtype": "",
  50. "buyerclass": "交通",
  51. "buyertel": "y",
  52. "winnertel": "y",
  53. "notkey": "医院",
  54. "fileExists": "0",
  55. "area": "北京",
  56. "city": "",
  57. "inkey": "742c4bce4303dffdaa8ce3c0b99ee814",
  58. "searchGroup": "0",
  59. "searchMode": "0",
  60. "wordsMode": "1",
  61. "additionalWords": "九龙山 医院"
  62. }
  63. ### 查看已保存的筛选条件
  64. POST http://{{addr}}/jybx/base/showSearchScreen
  65. Content-Type: application/json
  66. Cookie: SESSIONID=4b0dfa144d8cfa0c899e7281ff00656291d621db
  67. ### 删除已保存的筛选条件
  68. POST http://{{addr}}/jybx/base/delSearchScreen
  69. Content-Type: application/json
  70. UserId:test20130110
  71. appId:10000
  72. {
  73. "id": "63bcfd44d2d550dfc36773dd"
  74. }
  75. ### 获取最新标讯- 未登录
  76. GRPC 127.0.0.1:8005/bxcol.bxbase/NewestBidding
  77. ### 获取最新标讯- 登录
  78. GRPC 127.0.0.1:8005/bxcol.bxbase/NewestBidding
  79. {
  80. "positionId": 1204781659,
  81. "appId": "10000",
  82. "entId": null,
  83. "entUserId": null,
  84. "entAccountId": null,
  85. "positionType": 0,
  86. "accountId": "121233",
  87. "mgoUserId": "641aa7bcac1c8e639bc15cdb",
  88. "userId": "641aa7bcac1c8e639bc15cdb",
  89. "newUserId": 486050,
  90. "phone": "18238182402"
  91. }
  92. ###
  93. POST http://127.0.0.1:8006/jybx/base/newest
  94. Content-Type: application/json
  95. positionId": 1204781659,
  96. appId: "10000",
  97. entId: null,
  98. entUserId: null,
  99. entAccountId: null,
  100. positionType: 0,
  101. accountId: "121233",
  102. mgoUserId: "641aa7bcac1c8e639bc15cdb",
  103. userId: "641aa7bcac1c8e639bc15cdb",
  104. newUserId: 486050,
  105. phone: "18238182402
  106. ###
  107. POST http://192.168.3.240:8077/jybx/base/newest
  108. Content-Type: application/json
  109. Cookie:SESSIONID=6d22fac04ab1904bbda1e536773e8c1054b91fc3;