瀏覽代碼

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

iwt 2 周之前
父節點
當前提交
e3b2be298c
共有 1 個文件被更改,包括 8 次插入0 次删除
  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)