文档
测试

日志同步

GET
http://localhost:8080/business/synlogs/page

请求参数

参数名
类型
描述
必填
page
int
当前页
必填
limit
int
每页记录数
必填
deptId
int
要查询的部门ID,若为县级账号则提交当前账号的部门ID
必填

说明 / 示例

返回值示例 ```json { "code": 0, "msg": "success", "data": { "total": 1963, "list": [ { "id": "18843f7dfed142a49e77044f3a33005d", "type": "info", "tm": "2020-12-30 13:33:00", "msg": "本轮共同步0条数据,其中:雨量数据0条,河道水位数据0条,水库水位数据0条,同步完成时间2020-12-30 13:33:00", "deptId": "1067246875800000064", "tenantCode": "0" }, { "id": "743bc0983c26407bad4ca6d1df0a1c5b", "type": "info", "tm": "2020-12-30 13:30:00", "msg": "本轮共同步0条数据,其中:雨量数据0条,河道水位数据0条,水库水位数据0条,同步完成时间2020-12-30 13:30:00", "deptId": "1067246875800000064", "tenantCode": "0" } ] } } ``` 返回值解释 - type: 两种情况, `info`和`error`。`info`为同步成功, `error`为同步失败 - tm: 同步时间 - msg: 详情