This commit is contained in:
@@ -46,14 +46,6 @@ export class DeviceService extends BaseService {
|
||||
return this.getOne<Device>(`/api/admin/devices/${id}`)
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过设备号查询设备详情
|
||||
* @param imei 设备号(IMEI)
|
||||
*/
|
||||
static getDeviceByImei(imei: string): Promise<BaseResponse<Device>> {
|
||||
return this.getOne<Device>(`/api/admin/devices/by-imei/${imei}`)
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过ICCID查询设备详情
|
||||
* @param iccid ICCID
|
||||
|
||||
Reference in New Issue
Block a user