hldy_vue/src/views/iot/tplink/project/ProjectInfo.api.ts

19 lines
363 B
TypeScript
Raw Normal View History

2025-03-14 17:32:08 +08:00
import { defHttp } from '/@/utils/http/axios';
enum Api {
list = '/iot/projectInfo/list',
sync = '/iot/projectInfo/sync',
}
/**
*
* @param params
*/
export const list = (params) => defHttp.get({ url: Api.list, params });
/**
*
* @param params
*/
export const sync = (params) => defHttp.get({ url: Api.sync, params });