失物招领列表

失物招领

测试地址:

{url}/dev-api/customer/lostfound/getList?pageNum=1&pageSize=3

生产地址:

{url}/api/customer/lostfound/list?pageNum=1&pageSize=3

HTTP Method:GET

具体请求

header:
请求参数 说明
Authorization access_token 这里传登录获取的access_token

body:

请求参数说明

参数 说明 备注
pageNum 当前页数 1
pageSize 每页数据条数 10
typeId 类型ID 失物招领类型

响应参数

成功响应示例

  1. {
  2. "total": 15,
  3. "rows": [
  4. {
  5. "searchValue": null,
  6. "createBy": null,
  7. "createTime": "2022-02-19 14:08:55",
  8. "updateBy": null,
  9. "updateTime": null,
  10. "remark": null,
  11. "params": {},
  12. "id": 28,
  13. "place": "39路公交车",
  14. "img": null,
  15. "code": null,
  16. "phone": "15966198621",
  17. "typeId": 16,
  18. "typeName": "手机",
  19. "foundDate": "2022-02-22",
  20. "status": 1,
  21. "isDeleted": null
  22. },
  23. {
  24. "searchValue": null,
  25. "createBy": null,
  26. "createTime": "2022-02-19 14:08:54",
  27. "updateBy": null,
  28. "updateTime": null,
  29. "remark": null,
  30. "params": {},
  31. "id": 27,
  32. "place": "39路公交车",
  33. "img": null,
  34. "code": null,
  35. "phone": "15966198621",
  36. "typeId": 16,
  37. "typeName": "手机",
  38. "foundDate": "2022-02-22",
  39. "status": 1,
  40. "isDeleted": null
  41. },
  42. {
  43. "searchValue": null,
  44. "createBy": null,
  45. "createTime": "2022-02-19 14:08:53",
  46. "updateBy": null,
  47. "updateTime": null,
  48. "remark": null,
  49. "params": {},
  50. "id": 26,
  51. "place": "39路公交车",
  52. "img": null,
  53. "code": null,
  54. "phone": "15966198621",
  55. "typeId": 16,
  56. "typeName": "手机",
  57. "foundDate": "2022-02-22",
  58. "status": 1,
  59. "isDeleted": null
  60. },
  61. {
  62. "searchValue": null,
  63. "createBy": null,
  64. "createTime": "2022-02-19 14:08:52",
  65. "updateBy": null,
  66. "updateTime": null,
  67. "remark": null,
  68. "params": {},
  69. "id": 25,
  70. "place": "39路公交车",
  71. "img": null,
  72. "code": null,
  73. "phone": "15966198621",
  74. "typeId": 16,
  75. "typeName": "手机",
  76. "foundDate": "2022-02-22",
  77. "status": 1,
  78. "isDeleted": null
  79. },
  80. {
  81. "searchValue": null,
  82. "createBy": null,
  83. "createTime": "2022-02-19 14:08:51",
  84. "updateBy": null,
  85. "updateTime": null,
  86. "remark": null,
  87. "params": {},
  88. "id": 24,
  89. "place": "39路公交车",
  90. "img": null,
  91. "code": null,
  92. "phone": "15966198621",
  93. "typeId": 16,
  94. "typeName": "手机",
  95. "foundDate": "2022-02-22",
  96. "status": 1,
  97. "isDeleted": null
  98. }
  99. ],
  100. "code": 200,
  101. "msg": "查询成功"
  102. }

失败响应示例

  1. {
  2. "code": 401,
  3. "msg": "令牌不能为空"
  4. }

响应参数说明

参数名 说明 备注
code 返回码 为200表示成功,非200表示调用失败,其他错误码请见返回码说明
data 返回数据
id 主键ID
place 地点
img 图片
typeName 物品类型
code 物品编号
phone 联系电话
foundDate 拾取时间
status 状态 1:显示 2:不显示
createTime 创建时间
msg 返回码的文本描述内容

注意事项:
暂无


失物招领类型

失物招领类型分类

测试地址:

{url}/dev-api/customer/lostfoundtype/getList

生产地址:

{url}/api/customer/lostfoundtype/getList

HTTP Method:GET

具体请求

header:
请求参数 说明
Authorization access_token 这里传登录获取的access_token

body:

请求参数说明

响应参数

成功响应示例

  1. {
  2. "total": 4,
  3. "rows": [
  4. {
  5. "searchValue": null,
  6. "createBy": null,
  7. "createTime": "2022-02-19 10:56:58",
  8. "updateBy": null,
  9. "updateTime": "2022-02-19 10:57:43",
  10. "remark": null,
  11. "params": {},
  12. "id": 14,
  13. "name": "钱包",
  14. "status": 1,
  15. "isDeleted": null
  16. },
  17. {
  18. "searchValue": null,
  19. "createBy": null,
  20. "createTime": "2022-02-19 13:44:45",
  21. "updateBy": null,
  22. "updateTime": null,
  23. "remark": null,
  24. "params": {},
  25. "id": 15,
  26. "name": "钥匙",
  27. "status": 1,
  28. "isDeleted": null
  29. },
  30. {
  31. "searchValue": null,
  32. "createBy": null,
  33. "createTime": "2022-02-19 13:45:13",
  34. "updateBy": null,
  35. "updateTime": null,
  36. "remark": null,
  37. "params": {},
  38. "id": 16,
  39. "name": "手机",
  40. "status": 1,
  41. "isDeleted": null
  42. },
  43. {
  44. "searchValue": null,
  45. "createBy": null,
  46. "createTime": "2022-02-19 13:45:40",
  47. "updateBy": null,
  48. "updateTime": null,
  49. "remark": null,
  50. "params": {},
  51. "id": 17,
  52. "name": "其他",
  53. "status": 1,
  54. "isDeleted": null
  55. }
  56. ],
  57. "code": 200,
  58. "msg": "查询成功"
  59. }

失败响应示例

  1. {
  2. "code": 401,
  3. "msg": "令牌不能为空"
  4. }

响应参数说明

参数名 说明 备注
code 返回码 为200表示成功,非200表示调用失败,其他错误码请见返回码说明
total 数据总数
rows 返回数据
id 分类ID
name 分类名称
status 1:显示 2:不显示
msg 返回码的文本描述内容

注意事项:
暂无

失物招领详情

失物招领类型详情

测试地址:

{url}/dev-api/customer/lostfound/info

生产地址:

{url}/api/customer/lostfound/info

HTTP Method:GET

具体请求

header:
请求参数 说明
Authorization access_token 这里传登录获取的access_token

body:

请求参数说明

参数 说明 备注
id id

响应参数

成功响应示例

  1. {
  2. "msg": "操作成功",
  3. "code": 200,
  4. "data": {
  5. "searchValue": null,
  6. "createBy": null,
  7. "createTime": "2022-02-19 14:08:51",
  8. "updateBy": null,
  9. "updateTime": null,
  10. "remark": null,
  11. "params": {},
  12. "id": 24,
  13. "place": "39路公交车",
  14. "img": null,
  15. "code": null,
  16. "phone": "15966198621",
  17. "typeId": 16,
  18. "typeName": "手机",
  19. "foundDate": "2022-02-22",
  20. "status": 1,
  21. "isDeleted": null
  22. }
  23. }

失败响应示例

  1. {
  2. "code": 401,
  3. "msg": "令牌不能为空"
  4. }

响应参数说明

参数名 说明 备注
code 返回码 为200表示成功,非200表示调用失败,其他错误码请见返回码说明
data 返回数据
id 主键ID
place 地点
img 图片
typeName 物品类型
code 物品编号
phone 联系电话
foundDate 拾取时间
status 状态 1:显示 2:不显示
createTime 创建时间
remark 备注
msg 返回码的文本描述内容

注意事项:
暂无