src/utils/httpApi.ts
@@ -59,3 +59,21 @@ 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; } }