简要描述:

报修

请求域名:

  • http://xx.com

请求路由:

route=plugin.yz-supply-water-machine.frontend.business.repair-record.list

请求参数说明:

参数名 类型 是否必需 说明

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "查询成功",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 5,
                "uniacid": 2,
                "machine_id": 1,
                "supply_machine_id": 1,
                "machine_code": "123456789012345", //设备号
                "uid": "1",
                "admin_uid": "",
                "repair_problem": "\"不出水\"", //报修问题
                "repair_address": "测试",
                "supply_repair_id": 6,
                "status": 0, //0未处理1已处理
                "handle_remark": null,
                "created_at": "2025-08-05 15:11:45", //报修时间
                "updated_at": "2025-08-05 15:11:45"
            }
        ],
        "first_page_url": "http://shop/addons/yun_shop/api.php?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://shop/addons/yun_shop/api.php?page=1",
        "links": [
            {
                "url": null,
                "label": "« 上一页",
                "active": false
            },
            {
                "url": "http://shop/addons/yun_shop/api.php?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "下一页 »",
                "active": false
            }
        ],
        "next_page_url": null,
        "path": "http://shop/addons/yun_shop/api.php",
        "per_page": 10,
        "prev_page_url": null,
        "to": 1,
        "total": 1
    }
}