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