跳到主要内容

获取设备类型和鼠标参数库列表

此接口调用后的结果是现在支持的手机型号和对应鼠标参数:

请求参数

{
"data": {},
"fun": "get_devicemodel_list", //功能名
"msgid": 0 //消息id,服务端接收后会原样返回,websocket连接可用用来异步转同步用。http模式直接填0
}

成功返回

{
"fun": "get_devicemodel_list", //功能名
"msgid": 0,
"status": 0, //0成功,非0失败
"data": {
"iPhone10,1": {
"device_name": "iPhone 8",
"height": "667",
"model": "iPhone10,1",
"width": "375"
},
"iPhone10,2": {
"device_name": "iPhone 8 Plus",
"height": "736",
"model": "iPhone10,2",
"width": "414"
},
"iPhone10,3": {
"device_name": "iPhone X",
"height": "812",
"model": "iPhone10,3",
"width": "375"
},
"iPhone10,4": {
"device_name": "iPhone 8",
"height": "667",
"model": "iPhone10,4",
"width": "375"
},
"iPhone10,5": {
"device_name": "iPhone 8 Plus",
"height": "736",
"model": "iPhone10,5",
"width": "414"
},
"iPhone10,6": {
"device_name": "iPhone X",
"height": "812",
"model": "iPhone10,6",
"width": "375"
},
"iPhone11,2": {
"device_name": "iPhone XS",
"height": "812",
"model": "iPhone11,2",
"width": "375"
},
"iPhone11,4": {
"device_name": "iPhone XS Max",
"height": "812",
"model": "iPhone11,4",
"width": "375"
},
"iPhone11,6": {
"device_name": "iPhone XS Max",
"height": "812",
"model": "iPhone11,6",
"width": "375"
},
"iPhone11,8": {
"device_name": "iPhone XR",
"height": "896",
"model": "iPhone11,8",
"width": "414"
},
"iPhone12,1": {
"device_name": "iPhone 11",
"height": "896",
"model": "iPhone12,1",
"width": "414"
},
"iPhone12,3": {
"device_name": "iPhone 11 Pro",
"height": "896",
"model": "iPhone12,3",
"width": "414"
},
"iPhone12,5": {
"device_name": "iPhone 11 Pro Max",
"height": "896",
"model": "iPhone12,5",
"width": "414"
},
"iPhone12,8": {
"device_name": "iPhone SE 2",
"height": "667",
"model": "iPhone12,8",
"width": "375"
},
"iPhone13,1": {
"device_name": "iPhone 12 mini",
"height": "812",
"model": "iPhone13,1",
"width": "375"
},
"iPhone13,2": {
"device_name": "iPhone 12",
"height": "844",
"model": "iPhone13,2",
"width": "390"
},
"iPhone13,3": {
"device_name": "iPhone 12 Pro",
"height": "844",
"model": "iPhone13,3",
"width": "390"
},
"iPhone13,4": {
"device_name": "iPhone 12 Pro Max",
"height": "926",
"model": "iPhone13,4",
"width": "428"
},
"iPhone14,2": {
"device_name": "iPhone 13 Pro",
"height": "844",
"model": "iPhone14,2",
"width": "390"
},
"iPhone14,3": {
"device_name": "iPhone 13 Pro Max",
"height": "926",
"model": "iPhone14,3",
"width": "428"
},
"iPhone14,4": {
"device_name": "iPhone 13 mini",
"height": "812",
"model": "iPhone14,4",
"width": "375"
},
"iPhone14,5": {
"device_name": "iPhone 13",
"height": "844",
"model": "iPhone14,5",
"width": "390"
},
"iPhone14,6": {
"device_name": "iPhone SE 3",
"height": "667",
"model": "iPhone14,6",
"width": "375"
},
"iPhone3,1": {
"device_name": "iPhone 4",
"height": "480",
"model": "iPhone3,1",
"width": "320"
},
"iPhone3,2": {
"device_name": "iPhone 4",
"height": "480",
"model": "iPhone3,2",
"width": "320"
},
"iPhone3,3": {
"device_name": "iPhone 4",
"height": "480",
"model": "iPhone3,3",
"width": "320"
},
"iPhone4,1": {
"device_name": "iPhone 4S",
"height": "480",
"model": "iPhone4,1",
"width": "320"
},
"iPhone5,1": {
"device_name": "iPhone 5",
"height": "568",
"model": "iPhone5,1",
"width": "320"
},
"iPhone5,2": {
"device_name": "iPhone 5",
"height": "568",
"model": "iPhone5,2",
"width": "320"
},
"iPhone5,3": {
"device_name": "iPhone 5c",
"height": "568",
"model": "iPhone5,3",
"width": "320"
},
"iPhone5,4": {
"device_name": "iPhone 5c",
"height": "568",
"model": "iPhone5,4",
"width": "320"
},
"iPhone6,1": {
"device_name": "iPhone 5s",
"height": "568",
"model": "iPhone6,1",
"width": "320"
},
"iPhone6,2": {
"device_name": "iPhone 5s",
"height": "568",
"model": "iPhone6,2",
"width": "320"
},
"iPhone7,1": {
"device_name": "iPhone 6 Plus",
"height": "736",
"model": "iPhone7,1",
"width": "414"
},
"iPhone7,2": {
"device_name": "iPhone 6",
"height": "667",
"model": "iPhone7,2",
"width": "375"
},
"iPhone8,1": {
"device_name": "iPhone 6s",
"height": "667",
"model": "iPhone8,1",
"width": "375"
},
"iPhone8,2": {
"device_name": "iPhone 6s Plus",
"height": "736",
"model": "iPhone8,2",
"width": "414"
},
"iPhone8,4": {
"device_name": "iPhone SE",
"height": "568",
"model": "iPhone8,4",
"width": "320"
},
"iPhone9,1": {
"device_name": "iPhone 7",
"height": "667",
"model": "iPhone9,1",
"width": "375"
},
"iPhone9,2": {
"device_name": "iPhone 7 Plus",
"height": "736",
"model": "iPhone9,2",
"width": "414",
"15.6": [
{
"location": "90|154|250|90|154|250|48|79|714|48|79|714|38|54|272|38|54|272|26|25|666|26|25|666|10|8|66|10|8|66|5|3|133|5|3|133|3|866|133|3|866|133",
"crc": "194F4681",
"upname": "小明的iPhone",
"describe": "官方库",
"uptime": "2022-09-04 10:23:03",
"type": 0
}
]
},
"iPhone9,3": {
"device_name": "iPhone 7",
"height": "667",
"model": "iPhone9,3",
"width": "375"
},
"iPhone9,4": {
"device_name": "iPhone 7 Plus",
"height": "736",
"model": "iPhone9,4",
"width": "414"
}
}, //参数内容
"message": "成功" //调用返回消息
}

失败返回

{
"data": {}, //参数内容
"fun": "get_devicemodel_list", //功能名
"message": "失败", //调用返回消息
"msgid": 0,
"status": 1
}