src/api/data/channel/opcua/index.ts
@@ -30,7 +30,7 @@ // 新增OpcUaDevice export const createOpcUaDevice = (data: OpcUaDeviceVO) => { return request.post({ url: '/data/channel/opcua/device/add', data }) return request.post({ url: '/data/channel/opcua/device/create', data }) } // 修改OpcUaDevice @@ -39,6 +39,6 @@ } // 删除OpcUaDevice export const deleteOpcUaDevice = (id: number) => { export const deleteOpcUaDevice = (id: string) => { return request.delete({ url: '/data/channel/opcua/device/delete?id=' + id }) }