温湿度路径修改

This commit is contained in:
曹磊 2025-06-30 10:13:45 +08:00
parent 18ea16555d
commit 0f4b2eb217
1 changed files with 0 additions and 46 deletions

View File

@ -1,46 +0,0 @@
import { defHttp } from '/@/utils/http/axios';
enum Api {
list = '/iot/tq/waterMeter/list',
eleReset = '/iot/tq/waterMeter/eleReset',
eleControl = '/iot/tq/waterMeter/eleControl',
eleRead = '/iot/tq/waterMeter/eleRead',
getAllMeter = '/iot/tq/common/device/getAllMeter',
getAllCollector = '/iot/tq/common/device/getAllCollector',
}
/**
*
* @param params
*/
export const list = (params) => defHttp.get({ url: Api.list, params });
/**
*
* @param params
*/
export const eleReset = (params?) => defHttp.get({ url: Api.eleReset, params });
/**
*
* @param params
*/
export const eleControl = (params?) => defHttp.get({ url: Api.eleControl, params });
/**
*
* @param params
*/
export const eleRead = (params?) => defHttp.get({ url: Api.eleRead, params });
/**
*
* @param params
*/
export const getAllMeter = (params?) => defHttp.get({ url: Api.getAllMeter, params });
/**
*
* @param params
*/
export const getAllCollector = (params?) => defHttp.get({ url: Api.getAllCollector, params });