chore: models & requests
This commit is contained in:
9
src/apis/requests/log/ndm-snmp-log.ts
Normal file
9
src/apis/requests/log/ndm-snmp-log.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { PageParams, PageResult } from '@/apis/models/base/page';
|
||||
import type { NdmSnmpLogPageQuery, NdmSnmpLogResultVO } from '@/apis/models/device';
|
||||
|
||||
import { ndmClient } from '@/apis/client';
|
||||
|
||||
export const postSnmpLogPage = async (stationCode: string, pageQuery: PageParams<NdmSnmpLogPageQuery>) => {
|
||||
const resp = await ndmClient.post<PageResult<NdmSnmpLogResultVO>>(`${stationCode}/api/ndm/ndmSnmpLog/page`, pageQuery);
|
||||
return resp;
|
||||
};
|
||||
Reference in New Issue
Block a user