Explorar el Código

feat(self-check): 新增 getSelfCheckStatus 和 ignoreSelfCheck API 方法

iwt hace 2 semanas
padre
commit
e3b2be298c
Se han modificado 1 ficheros con 8 adiciones y 0 borrados
  1. 8 0
      cfc-frontend/utils/api.js

+ 8 - 0
cfc-frontend/utils/api.js

@@ -2263,6 +2263,14 @@ export const getSelfCheckHistory = () => {
   return request('/api/family/self-check/history', 'POST', {})
 }
 
+export const getSelfCheckStatus = () => {
+  return request('/api/family/self-check/status', 'POST', {})
+}
+
+export const ignoreSelfCheck = (data) => {
+  return request('/api/family/self-check/ignore', 'POST', data || {})
+}
+
 // ===== 舌诊相关(两阶段流程) =====
 export const parseTonguePreview = (data) => request('/api/health/report/parse-preview?type=tongue', 'POST', data)
 export const confirmTongue = (data) => request('/api/health/report/confirm?type=tongue', 'POST', data)