feat(api): 完善家谱系统API客户端契约
- 实现家谱管理相关方法,包括创建、详情、概览、我的家谱和选项查询 - 添加家谱加入申请功能,支持申请、审核、取消和待审核列表操作 - 集成通知详情获取方法和通知ID安全验证机制 - 完善功德记录、谱文、相册、视频、祭祀活动的完整CRUD操作契约 - 实现家谱成员管理功能,包含成员列表、更新、移除和转让所有者操作 - 优化路径ID验证逻辑,拒绝不安全的数值ID并提供明确错误提示 - 更新测试用例以验证所有新增API方法的路径和请求体白名单机制
This commit is contained in:
@@ -197,6 +197,26 @@
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
[data-generation-management][hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
[data-lineage-management][hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
[data-lineage-spouse-field][hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
[data-lineage-pagination][hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
[data-video-management][hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.generation-row .pill {
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
@@ -224,6 +244,10 @@
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.lineage-filter-toolbar {
|
||||
grid-template-columns: minmax(220px, 1fr) minmax(140px, .5fr) minmax(140px, .5fr) auto;
|
||||
}
|
||||
|
||||
.lineage-toolbar input,
|
||||
.lineage-toolbar select {
|
||||
min-height: 46px;
|
||||
@@ -302,6 +326,34 @@
|
||||
background: #fde8e2;
|
||||
}
|
||||
|
||||
.ceremony-invitation-row .pill {
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.ceremony-invitation-row .pill:disabled {
|
||||
cursor: wait;
|
||||
opacity: .58;
|
||||
}
|
||||
|
||||
.invitation-detail b {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.invitation-detail .pill {
|
||||
display: inline-block;
|
||||
margin-left: 8px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.video-row .pill,
|
||||
.video-detail + .bottom-actions button {
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.article-row {
|
||||
/* 谱文列表行复用模块列表视觉,单独保留类名方便后续文章样式调整 */
|
||||
align-items: center;
|
||||
@@ -679,6 +731,26 @@
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
[data-growth-editor][hidden],
|
||||
[data-growth-editor-action][hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
[data-relative-editor][hidden],
|
||||
[data-relative-editor-action][hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
[data-memo-editor][hidden],
|
||||
[data-memo-editor-action][hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
[data-merit-editor][hidden],
|
||||
[data-merit-editor-action][hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.generation-batch-form {
|
||||
/* 批量字辈表单复用编辑表单,只补充本页预览前的间距。 */
|
||||
margin-top: 14px;
|
||||
@@ -746,6 +818,10 @@
|
||||
position: static;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.lineage-filter-toolbar {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
@@ -761,6 +837,10 @@
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.lineage-filter-toolbar {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.form-like p,
|
||||
.module-row,
|
||||
.editor-two,
|
||||
|
||||
Reference in New Issue
Block a user