hldy_yunwei_vue/src/views/iot/weihu/weihu.api.ts

35 lines
741 B
TypeScript
Raw Normal View History

2025-08-15 17:49:47 +08:00
import { defHttp } from '/@/utils/http/axios';
enum Api {
list = '/iot/weihu/deviceMaintain/list',
saveSendOrg = '/iot/weihu/deviceMaintain/saveSendOrg',
2025-08-21 18:09:52 +08:00
departlist = '/iot/weihu/deviceMaintain/departlist',
nulist = '/iot/weihu/deviceMaintain/nulist',
2025-08-15 17:49:47 +08:00
}
/**
*
* @param params
*/
export const list = (params) => defHttp.get({ url: Api.list, params });
/**
*
* @param params
*/
export const saveSendOrg = (params) => {
return defHttp.post({ url: Api.saveSendOrg, params });
};
2025-08-21 18:09:52 +08:00
/**
*
* @param params
*/
export const departlist = (params) => defHttp.get({ url: Api.departlist, params });
/**
*
* @param params
*/
export const nulist = (params) => defHttp.get({ url: Api.nulist, params });