diff --git a/src/api/data-collect/channel.ts b/src/api/data-collect/channel.ts index 08bbbd8c..f255032e 100644 --- a/src/api/data-collect/channel.ts +++ b/src/api/data-collect/channel.ts @@ -13,7 +13,7 @@ export const update = (id: string, data: any) => export const getProviders = () => server.get(`/gateway/device/providers`); -export const queryOptionsList = (type: strimg) => +export const queryOptionsList = (type: string) => server.get(`/data-collect/opc/${type}`); export const validateField = (data: any) =>