hldy_vue/src/views/iot/tplink/region/RegionInfo.api.ts

19 lines
361 B
TypeScript
Raw Normal View History

2025-03-14 17:32:08 +08:00
import { defHttp } from '/@/utils/http/axios';
enum Api {
list = '/iot/regionInfo/list',
sync = '/iot/regionInfo/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 });