文档
测试

获取同模板同顾客的设备集合

POST
localhost:11000/product/machine/searchBatchMachine?machineName=test0001&userName=贵阳职业技术学院

接口描述

当用户调用时才传入顾客的参数

请求参数

参数名
类型
描述
必填
machineName
设备名称
必填
userName
顾客名称
必填

说明 / 示例

{ "msg": "success", "code": 0, "list": [ { "id": 6, "machineid": null, "machinename": "test0006", "machinekind": "4", "machinekey": "", "machinestate": "1", "customerid": "1019", "address": "", "remarks": "1号", "datalength": null, "crc8": "0006", "createtime": "2020/11/13 15:35:32", "isonline": "0", "lng": "112.82913", "lat": "23.287557", "templateid": "5", "purchasecontract": "", "warrantyperiod": "", "imgurl": null }, { "id": 21, "machineid": null, "machinename": "test1803", "machinekind": "2", "machinekey": "SX-CSC08A现代冷库综合实训考核设备", "machinestate": "1", "customerid": "1019", "address": "", "remarks": "", "datalength": null, "crc8": "1803", "createtime": "2020/11/18 16:17:38", "isonline": "0", "lng": "112.773507", "lat": "22.941681", "templateid": "5", "purchasecontract": "", "warrantyperiod": "", "imgurl": null } ] }