feat(api): 完善家谱系统API客户端契约

- 实现家谱管理相关方法,包括创建、详情、概览、我的家谱和选项查询
- 添加家谱加入申请功能,支持申请、审核、取消和待审核列表操作
- 集成通知详情获取方法和通知ID安全验证机制
- 完善功德记录、谱文、相册、视频、祭祀活动的完整CRUD操作契约
- 实现家谱成员管理功能,包含成员列表、更新、移除和转让所有者操作
- 优化路径ID验证逻辑,拒绝不安全的数值ID并提供明确错误提示
- 更新测试用例以验证所有新增API方法的路径和请求体白名单机制
This commit is contained in:
fizzleaf
2026-07-29 16:57:27 +08:00
parent 59a72fb22b
commit fb1743aa2a
74 changed files with 13166 additions and 1320 deletions
+4 -1
View File
@@ -161,8 +161,11 @@ test('duplicate file submissions share one active upload', async () => {
test('business upload pages never expose editable OSS ID fields', () => {
const pages = [
'profile-data.html',
'profile-create-family.html',
'profile-article-edit.html',
'profile-album.html',
'profile-album-edit.html',
'profile-album-detail.html',
'profile-video-edit.html',
'profile-gift-edit.html',
'profile-growth-edit.html',
'profile-memo-edit.html',