单应用项目,可以创建很多独立工具类页面 ,不用登录 初始化的页面
zhangchen
2025-07-26 b7b79d84b269641a4a8134249f6b5ec33ae6218f
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;
    }
}