|
@@ -2035,6 +2035,15 @@ export const deleteChallenge = (id) => request('/api/health/challenge/delete/' +
|
|
|
export const getChallengeTemplates = () => request('/api/health/challenge/templates', 'POST', {})
|
|
export const getChallengeTemplates = () => request('/api/health/challenge/templates', 'POST', {})
|
|
|
export const sendLike = (data) => request('/api/health/interact/like', 'POST', data)
|
|
export const sendLike = (data) => request('/api/health/interact/like', 'POST', data)
|
|
|
|
|
|
|
|
|
|
+// ===== DOA 个人目标(家庭打卡个人目标模块) =====
|
|
|
|
|
+export const createDoaStage = (data) => request('/api/doa/stage/create', 'POST', data)
|
|
|
|
|
+export const getDoaOverview = () => request('/api/doa/overview', 'POST', {})
|
|
|
|
|
+export const getDoaStageDetail = (stageId) => request('/api/doa/stage/detail', 'POST', { stageId: stageId })
|
|
|
|
|
+export const cancelDoaStage = (stageId) => request('/api/doa/stage/cancel', 'POST', { stageId: stageId })
|
|
|
|
|
+export const submitDoaWeekPlan = (weekId, plan) => request('/api/doa/week/plan', 'POST', { weekId: weekId, plan: plan })
|
|
|
|
|
+export const submitDoaWeekReview = (data) => request('/api/doa/week/review', 'POST', data)
|
|
|
|
|
+export const getDoaWeekList = (stageId) => request('/api/doa/week/list', 'POST', { stageId: stageId })
|
|
|
|
|
+
|
|
|
// ===== 健康社区扩散(P3 健康圈/排行/分享) =====
|
|
// ===== 健康社区扩散(P3 健康圈/排行/分享) =====
|
|
|
export const getCircleList = (data) => request('/api/health/circle/list', 'POST', data)
|
|
export const getCircleList = (data) => request('/api/health/circle/list', 'POST', data)
|
|
|
export const createCircle = (data) => request('/api/health/circle/create', 'POST', data)
|
|
export const createCircle = (data) => request('/api/health/circle/create', 'POST', data)
|