1.URL
http://124.223.60.234:8080/system/maintenance/reminder/queryMaintenanceReminderList
2.请求参数
2.1请求头
token:对应登录验证成功后,data里面对应的tokenId
2.2.参数示例
{
"vehicleIds":["A9663EC8624649AC9DD7CD6507A5FDC3","E98E3532A36745C99A8EF34298291005"],
"key":"",
"startTime":"2025-11-01 00:00:00",
"endTime":"2025-11-20 00:00:00",
"pageNum":1,
"pageSize":20
}
2.3.参数说明
| 字段 | 类型 | 说明 | 是否必须 |
|---|---|---|---|
| vehicleIds | List | 资产唯一标识集合 | Y |
| key | String | 模糊查询key | Y |
| startTime | String | 开始时间(UTC) | Y |
| endTime | String | 结束时间(UTC) | Y |
| pageNum | int | 分页查询当前页码,默认1 | Y |
| pageSize | int | 分页查询每页显示条数,默认20 | Y |
3.接口应答
3.1.返回示例
{
"code": 200,
"message": "Operation succeeded",
"data": {
"total": 2,
"size": 1,
"data": [
{
"id": "D11CEE30493649848D1E42F38076F92D",
"orgId": "CDC0381F93B14C3DBB6EC10BB2FD928B",
"orgName": "河北兆雪科技有限公司",
"serviceId": 1,
"serviceName": "xxxxxxxx",
"vehicleId": "A9663EC8624649AC9DD7CD6507A5FDC3",
"vehicleNum": "VL300-4209",
"vehicleIcon": 0,
"reminderName": "Oil Change",
"nextReminder": "{\"dateTime\":\"2025-12-13\",\"mileage\":5000,\"motorHours\":6000}",
"currentInfo": "{\"currentEngineHours\":0,\"currentMileage\":122.5,\"currentTime\":\"2025-11-13T14:30:09.325010600Z\"}",
"repeatInterval": "{\"interval\":6,\"unitType\":3,\"mileage\":6000,\"motorHours\":2000}",
"notifyBefore": "{\"interval\":2,\"unitType\":2,\"mileage\":500,\"motorHours\":200}",
"subscribers": "[{\"type\":0},{\"type\":1,\"emailList\":[\"leave_iot@163.com\",\"leaveiot@163.com\"]}]",
"status": 0,
"createTime": "2025-11-13 08:52:47",
"creatorId": "F940B79790004404AAC277418FC71C5D",
"creator": "LEAVE"
},
{
"id": "1C78AF5B236F4ACD9F5BB32FF678ABBB",
"orgId": "03D7372C6F494C60BAD4A240692B6FA6",
"orgName": "2022",
"serviceId": 2,
"serviceName": "cccccccc",
"vehicleId": "E98E3532A36745C99A8EF34298291005",
"vehicleNum": "413050336196",
"vehicleIcon": 0,
"reminderName": "Oil Change",
"nextReminder": "{\"dateTime\":\"2025-12-13\",\"mileage\":5000,\"motorHours\":6000}",
"currentInfo": "{\"currentEngineHours\":0,\"currentMileage\":260.4,\"currentTime\":\"2025-11-13T14:30:09.362015300Z\"}",
"repeatInterval": "{\"interval\":6,\"unitType\":3,\"mileage\":6000,\"motorHours\":2000}",
"notifyBefore": "{\"interval\":2,\"unitType\":2,\"mileage\":500,\"motorHours\":200}",
"subscribers": "[{\"type\":0},{\"type\":1,\"emailList\":[\"leave_iot@163.com\",\"leaveiot@163.com\"]}]",
"status": 0,
"createTime": "2025-11-13 08:52:48",
"creatorId": "F940B79790004404AAC277418FC71C5D",
"creator": "LEAVE"
}
]
}
}
3.2.返回结果说明
| 字段 | 类型 | 说明 |
|---|---|---|
| code | int | 返回状态 |
| message | String | 返回结果描述 |
| data | object | 返回结果体 |
data说明
| 字段 | 类型 | 说明 |
|---|---|---|
| total | String | 总条数 |
| size | String | 多少页 |
| data | object | 每页的结果集合 |
data说明
| 字段 | 类型 | 说明 |
|---|---|---|
| id | String | 唯一标识 |
| orgId | String | 组织唯一标识 |
| orgName | String | 组织名称 |
| serviceId | Long | 服务流水号 |
| serviceName | String | 服务名称 |
| vehicleId | String | 车辆唯一标识 |
| vehicleNum | String | 车辆名称 |
| vehicleIcon | String | 车辆图标 |
| reminderName | String | 提醒名称(如 “Oil Change - 换油提醒”) |
| nextReminder | String | 下次提醒信息,JSON 格式字符串。包含下次提醒时间(dateTime)、里程(mileage)、发动机时长(motorHours) |
| repeatInterval | String | 重复提醒间隔,JSON 格式字符串。interval - 间隔数值;unitType - 时间单位(如 1-天;2-周; 3 - 月);mileage - 里程间隔;motorHours - 发动机时长间隔 |
| notifyBefore | String | 提前通知配置,JSON 格式字符串。interval - 提前数值;unitType - 时间单位(如 1-天;2-周; 3 - 月);mileage - 提前里程;motorHours - 提前发动机时长 |
| subscribers | String | 订阅人列表,JSON 格式字符串。type - 订阅类型(0 - 默认订阅人,1 - 指定邮箱订阅人);emailList - 指定订阅人邮箱数组(仅 type=1 时生效) |
| status | int | 0:激活;1:关闭;2:超期 |
| createTime | String | 创建时间 |
| creatorId | String | 创建用户唯一标识 |
| creator | String | 创建用户 |
Author:admin Create time:2025-11-13 16:22
Last editor:admin Update time:2025-11-24 14:17
Last editor:admin Update time:2025-11-24 14:17