10 lines
378 B
TypeScript
10 lines
378 B
TypeScript
import { defHttp } from '/@/utils/http/axios';
|
|
|
|
enum Api {
|
|
list = '/health-watch/archives/watch/device/page',
|
|
deviceList = '/health-watch/watch/watchDevice/list',
|
|
}
|
|
|
|
export const listApi = (params: any) => defHttp.get({ url: Api.list, params }, { isTransformResponse: false });
|
|
export const deviceListApi = (params: any) => defHttp.get({ url: Api.deviceList, params });
|