src/utils/httpApi.ts
@@ -58,4 +58,22 @@ console.error('Error setting timeout alert:', error); throw error; } }; }; /** * 停止定时任务 * @param deviceCode * @returns */ export const stopTimeoutAlert = async (deviceCode: string) => { try { const response = await axios.post(`${apiBaseUrl}/patient/hemo/med/record/stopTimeoutAlert`, { deviceCode }, { headers: { 'Content-Type': 'application/x-www-form-urlencoded' } }); return response.data; } catch (error) { throw error; } }