This repository has been archived on 2025-11-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ndm-web-client-r/src/apis/requests/log/ndm-snmp-log.ts
2025-08-13 01:26:06 +08:00

11 lines
499 B
TypeScript

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 prefix = stationCode ? `/${stationCode}` : '';
const resp = await ndmClient.post<PageResult<NdmSnmpLogResultVO>>(`${prefix}/api/ndm/ndmSnmpLog/page`, pageQuery);
return resp;
};