耗材.postman_collection.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. {
  2. "info": {
  3. "_postman_id": "35a56a96-4c41-470c-9d03-26eae3570bfa",
  4. "name": "耗材",
  5. "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  6. },
  7. "item": [
  8. {
  9. "name": "user",
  10. "request": {
  11. "method": "POST",
  12. "header": [
  13. {
  14. "key": "Authorization",
  15. "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0YWJsZSI6InN5c3RlbV9hY2NvdW50IiwiaWQiOiIxIiwiaWF0IjoxNjMyODkzMjcxfQ.TBqoZhKsgPCflK2xpnKeskALeq2yrp8708Cjvars-zE",
  16. "type": "text"
  17. }
  18. ],
  19. "body": {
  20. "mode": "raw",
  21. "raw": "{\r\n \"name\":\"测试商户\",\r\n \"phone\":\"13089419811\",\r\n \"password\":\"1qaz2wsx\",\r\n \"email\":\"2938260457@qq.com\",\r\n \"address\":\"回家\",\r\n \"dept\":\"回家部\",\r\n \"zw\":\"回家\",\r\n \"company\":\"回家单位\",\r\n \"type\":\"1\",\r\n \"openid\":\"485sqqafrtd5_2as\"\r\n}",
  22. "options": {
  23. "raw": {
  24. "language": "json"
  25. }
  26. }
  27. },
  28. "url": {
  29. "raw": "http://127.0.0.1:12001/api/hc/user",
  30. "protocol": "http",
  31. "host": [
  32. "127",
  33. "0",
  34. "0",
  35. "1"
  36. ],
  37. "port": "12001",
  38. "path": [
  39. "api",
  40. "hc",
  41. "user"
  42. ]
  43. }
  44. },
  45. "response": []
  46. },
  47. {
  48. "name": "登陆",
  49. "request": {
  50. "method": "POST",
  51. "header": [],
  52. "body": {
  53. "mode": "raw",
  54. "raw": "{\r\n \"phone\":\"13089419810\",\r\n \"password\":\"1qaz2wsx\"\r\n}",
  55. "options": {
  56. "raw": {
  57. "language": "json"
  58. }
  59. }
  60. },
  61. "url": {
  62. "raw": "http://127.0.0.1:12001/api/hc/user/login",
  63. "protocol": "http",
  64. "host": [
  65. "127",
  66. "0",
  67. "0",
  68. "1"
  69. ],
  70. "port": "12001",
  71. "path": [
  72. "api",
  73. "hc",
  74. "user",
  75. "login"
  76. ]
  77. }
  78. },
  79. "response": []
  80. },
  81. {
  82. "name": "market",
  83. "request": {
  84. "method": "POST",
  85. "header": [],
  86. "body": {
  87. "mode": "raw",
  88. "raw": "{\r\n \"mech_id\":\"61658239a649224d901195a6\",\r\n \"mech_name\":\"测试商户\",\r\n \"type\":\"吃\",\r\n \"name\":\"饼干(大包)\",\r\n \"brief\":\"压缩饼干\",\r\n \"money\":20,\r\n \"status\":\"0\"\r\n}",
  89. "options": {
  90. "raw": {
  91. "language": "json"
  92. }
  93. }
  94. },
  95. "url": {
  96. "raw": "http://127.0.0.1:12001/api/hc/market/update/6165829da649224d901195a8",
  97. "protocol": "http",
  98. "host": [
  99. "127",
  100. "0",
  101. "0",
  102. "1"
  103. ],
  104. "port": "12001",
  105. "path": [
  106. "api",
  107. "hc",
  108. "market",
  109. "update",
  110. "6165829da649224d901195a8"
  111. ]
  112. }
  113. },
  114. "response": []
  115. },
  116. {
  117. "name": "examine",
  118. "request": {
  119. "method": "POST",
  120. "header": [],
  121. "body": {
  122. "mode": "raw",
  123. "raw": "{\r\n \"personal\":\"61658239a649224d901195a6\",\r\n \"examine_time\":\"2021-09-10\",\r\n \"opinion\":\"不能吃\",\r\n \"status\":\"2\",\r\n \"totalMoney\":60,\r\n \"buy_id\":\"61658239a649224d901195a6\",\r\n \"buy_name\":\"测试商户\"\r\n}",
  124. "options": {
  125. "raw": {
  126. "language": "json"
  127. }
  128. }
  129. },
  130. "url": {
  131. "raw": "http://127.0.0.1:12001/api/hc/examine/update/61658336a649224d901195af",
  132. "protocol": "http",
  133. "host": [
  134. "127",
  135. "0",
  136. "0",
  137. "1"
  138. ],
  139. "port": "12001",
  140. "path": [
  141. "api",
  142. "hc",
  143. "examine",
  144. "update",
  145. "61658336a649224d901195af"
  146. ]
  147. }
  148. },
  149. "response": []
  150. },
  151. {
  152. "name": "收货",
  153. "request": {
  154. "method": "POST",
  155. "header": [],
  156. "body": {
  157. "mode": "raw",
  158. "raw": "{\r\n \"examine_id\":\"61658336a649224d901195af\",\r\n \"buy_id\":\"61658239a649224d901195a6\",\r\n \"mech_id\":\"61658239a649224d901195a7\",\r\n \"market_id\":\"6165829da649224d901195a8\",\r\n \"status\":\"1\"\r\n}",
  159. "options": {
  160. "raw": {
  161. "language": "json"
  162. }
  163. }
  164. },
  165. "url": {
  166. "raw": "http://127.0.0.1:12001/api/hc/examine/getGoods",
  167. "protocol": "http",
  168. "host": [
  169. "127",
  170. "0",
  171. "0",
  172. "1"
  173. ],
  174. "port": "12001",
  175. "path": [
  176. "api",
  177. "hc",
  178. "examine",
  179. "getGoods"
  180. ]
  181. }
  182. },
  183. "response": []
  184. }
  185. ]
  186. }