分页

简要描述:

  • 分页接口

请求URL:

  • http://192.168.11.145/device-management/patrol/detail/standard/page

请求方式:

  • GET

参数:

参数名 必选 类型 说明
page int 页码
limit int 每页条数
maintainPlanId int 计划 id

请求示例

http://192.168.11.145/device-management/patrol/detail/standard/page?page=1&limit=10&maintainPlanId=10

返回示例

{
    "msg":"success",
    "code":0,
    "data":{
        "total":2,
        "size":10,
        "current":1,
        "records":[
            {
                "delFlag":"0",
                "remark":null,
                "createTime":"2020-09-07 10:19:38",
                "updateTime":"2020-11-05 18:23:59",
                "createBy":2,
                "updateBy":null,
                "id":1,
                "tenantId":44,
                "code":"PDS1599445152073",
                "patrolDetailId":2,
                "standardId":1,
                "standardName":"standardName1",
                "standardPurpose":"standardPurpose",
                "maintainPlanId":10,
                "deviceId":1,
                "deviceName":"deviceName",
                "deviceCode":"deviceCode",
                "deviceSpecifications":"des"
            },
            {
                "delFlag":"0",
                "remark":null,
                "createTime":"2020-09-07 10:24:36",
                "updateTime":"2020-11-05 18:23:59",
                "createBy":2,
                "updateBy":null,
                "id":2,
                "tenantId":44,
                "code":"PDS1599445450995",
                "patrolDetailId":2,
                "standardId":1,
                "standardName":"standardName2",
                "standardPurpose":"standardPurpose",
                "maintainPlanId":10,
                "deviceId":1,
                "deviceName":"deviceName",
                "deviceCode":"deviceCode",
                "deviceSpecifications":"des"
            }
        ],
        "pages":1
    }
}

返回参数说明

参数名 类型 说明
code int 状态码, 0:成功;其他:异常
message String 描述信息
data object 返回数据

备注,