人员.http 958 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. ### 新增人员
  2. POST {{api_url}}/person/add
  3. Content-Type: application/json
  4. {
  5. "name": "李四",
  6. "callName": "四哥",
  7. "gender": 1,
  8. "mateId": 77,
  9. "birthday": "1990-01-01",
  10. "phone": "13800000000",
  11. "address": "北京市朝阳区",
  12. "remark": "李四嫂"
  13. }
  14. ### 查询人员详情
  15. GET {{api_url}}/person/detail/75
  16. ### 修改人员
  17. POST http://localhost:8080/person/update
  18. Content-Type: application/json
  19. {
  20. "id": 79,
  21. "name": "李四",
  22. "callName": "四哥",
  23. "gender": 1,
  24. "mateId": 77,
  25. "birthday": "1990-01-01",
  26. "phone": "13800000000",
  27. "address": "北京市朝阳区",
  28. "remark": "李四"
  29. }
  30. ### 删除人员
  31. POST {{api_url}}/person/delete?id=77&ids=
  32. ### 分页查询
  33. GET {{api_url}}/person/listPage
  34. Content-Type: application/json
  35. {
  36. "page": {
  37. "pageNo": 1,
  38. "pageSize": 10
  39. }
  40. }
  41. ### 下拉查询
  42. GET {{api_url}}/person/listOption
  43. Content-Type: application/json
  44. {
  45. "page": {
  46. "pageNo": 1,
  47. "pageSize": 10
  48. }
  49. }