chore: models & requests
This commit is contained in:
@@ -12,4 +12,4 @@ export * from './log/device-alarm-log';
|
|||||||
export * from './log/icmp-log';
|
export * from './log/icmp-log';
|
||||||
export * from './log/snmp-log';
|
export * from './log/snmp-log';
|
||||||
|
|
||||||
export * from './system';
|
export * from './system/def-parameter';
|
||||||
|
|||||||
@@ -5,6 +5,6 @@ import type { DefParameterResultVO, DefParameterUpdateVO } from '../../models/sy
|
|||||||
import { ndmClient } from '../../client';
|
import { ndmClient } from '../../client';
|
||||||
|
|
||||||
export const putDefParameter = async (stationCode: string, updateVO: DefParameterUpdateVO) => {
|
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;
|
return resp;
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user