用户.http 508 B

1234567891011121314151617181920212223242526272829303132333435
  1. ### 用户登录
  2. POST {{api_url}}/user/login
  3. Content-Type: application/json
  4. {
  5. "userName": "liuchuanwei",
  6. "password": "123456"
  7. }
  8. ### 新增用户
  9. POST {{api_url}}/user/save
  10. Content-Type: application/json
  11. {
  12. "userName": "张安9",
  13. "password": "123456"
  14. }
  15. ### 查询用户详情
  16. GET {{api_url}}/user/detail?id=1
  17. ### 删除用户
  18. DELETE {{api_url}}/user/delete?id=77
  19. ### 分页查询
  20. POST {{api_url}}/user/list
  21. Content-Type: application/json
  22. {
  23. "page": {
  24. "pageNo": 2,
  25. "pageSize": 10
  26. }
  27. }