feat(家庭健康): 优化家庭组加入流程,移除自动创建家庭组逻辑
This commit is contained in:
@@ -172,14 +172,6 @@ export async function getFamilyGroup(): Promise<FamilyGroup | null> {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 创建家庭组
|
||||
* @param name 家庭组名称
|
||||
*/
|
||||
export async function createFamilyGroup(name: string): Promise<FamilyGroup> {
|
||||
return api.post<FamilyGroup>('/api/health-profiles/family/group', { name });
|
||||
}
|
||||
|
||||
/**
|
||||
* 生成家庭组邀请码
|
||||
* @param expiresInHours 过期时间(小时),默认24小时
|
||||
|
||||
Reference in New Issue
Block a user