add: 新增api/device.ts,设备相关接口

This commit is contained in:
wangshuaiswim 2023-01-10 16:25:39 +08:00
parent 6350a8f3b9
commit b9edb9dc14
1 changed files with 3 additions and 0 deletions

3
src/api/device.ts Normal file
View File

@ -0,0 +1,3 @@
import server from '@/utils/request'
export const deleteMetadata = (deviceId: string) => server.remove(`/device-instance/${deviceId}/metadata`)