chore: models & requests

This commit is contained in:
2025-08-12 15:21:22 +08:00
parent f06475e7ce
commit c26eb6aa3e
2 changed files with 2 additions and 2 deletions

View File

@@ -12,4 +12,4 @@ export * from './log/device-alarm-log';
export * from './log/icmp-log';
export * from './log/snmp-log';
export * from './system';
export * from './system/def-parameter';

View File

@@ -5,6 +5,6 @@ import type { DefParameterResultVO, DefParameterUpdateVO } from '../../models/sy
import { ndmClient } from '../../client';
export const putDefParameter = async (stationCode: string, updateVO: DefParameterUpdateVO) => {
const resp = ndmClient.put<Result<DefParameterResultVO>>(`${stationCode}/api/system/defParameter`, { ...updateVO });
const resp = await ndmClient.put<Result<DefParameterResultVO>>(`${stationCode}/api/system/defParameter`, { ...updateVO });
return resp;
};