fetch(add): 运营商管理
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 2m23s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 2m23s
This commit is contained in:
@@ -42,6 +42,14 @@ 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}`)
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除设备
|
||||
* @param id 设备ID
|
||||
|
||||
Reference in New Issue
Block a user