待测试

This commit is contained in:
2026-07-28 07:58:26 +08:00
parent 1e9e25fe67
commit 6fbcf21024
22 changed files with 1294 additions and 264 deletions
+405 -79
View File
@@ -3260,7 +3260,7 @@
"$ref": "#/components/schemas/LineagePersonBody"
},
"example": {
"appUserId": 900000001,
"bindingMode": "NONE",
"personNo": "P202607090001",
"name": "彭德明",
"aliasName": "德明",
@@ -3354,10 +3354,19 @@
{
"name": "personStatus",
"in": "query",
"description": "人物状态字典值",
"description": "字典 gen_lineage_person_status0=健在,1=已故,2=未知",
"required": false,
"schema": {
"type": "string"
"type": "string",
"enum": [
"0",
"1",
"2"
],
"x-dict-type": "gen_lineage_person_status",
"examples": [
"0"
]
}
},
{
@@ -3583,7 +3592,7 @@
"$ref": "#/components/schemas/LineagePersonBody"
},
"example": {
"appUserId": 900000001,
"bindingMode": "NONE",
"personNo": "P202607090001",
"name": "彭德明",
"aliasName": "德明",
@@ -3717,7 +3726,7 @@
"$ref": "#/components/schemas/LineagePersonBody"
},
"example": {
"appUserId": 900000001,
"bindingMode": "NONE",
"personNo": "P202607090001",
"name": "彭德明",
"aliasName": "德明",
@@ -3798,7 +3807,7 @@
"$ref": "#/components/schemas/LineagePersonBody"
},
"example": {
"appUserId": 900000001,
"bindingMode": "NONE",
"personNo": "P202607090001",
"name": "彭德明",
"aliasName": "德明",
@@ -3879,7 +3888,7 @@
"$ref": "#/components/schemas/LineagePersonBody"
},
"example": {
"appUserId": 900000001,
"bindingMode": "NONE",
"personNo": "P202607090001",
"name": "彭德明",
"aliasName": "德明",
@@ -3960,7 +3969,7 @@
"$ref": "#/components/schemas/LineagePersonBody"
},
"example": {
"appUserId": 900000001,
"bindingMode": "NONE",
"personNo": "P202607090001",
"name": "彭德明",
"aliasName": "德明",
@@ -7366,13 +7375,17 @@
{
"name": "readStatus",
"in": "query",
"description": "阅读状态,0未读,1已读;不传则查询全部",
"description": "字典 gen_notification_read_status0=未读,1=已读;不传则查询全部",
"required": false,
"schema": {
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "gen_notification_read_status",
"examples": [
"0"
]
}
},
@@ -8577,8 +8590,17 @@
"format": "int64"
},
"sex": {
"description": "性别,建议使用系统字典值",
"type": "string"
"description": "字典 sys_user_sex0=男,1=女,2=未知",
"type": "string",
"enum": [
"0",
"1",
"2"
],
"x-dict-type": "sys_user_sex",
"examples": [
"2"
]
},
"birthday": {
"description": "生日,格式 yyyy-MM-dd",
@@ -8869,11 +8891,24 @@
"type": "object",
"additionalProperties": false,
"required": [
"bindingMode",
"name"
],
"properties": {
"bindingMode": {
"description": "账号绑定方式:NONE=不绑定账号;SELF=绑定当前登录业务用户;SPECIFIED=由有管理权限的操作者指定 appUserId",
"type": "string",
"enum": [
"NONE",
"SELF",
"SPECIFIED"
],
"examples": [
"NONE"
]
},
"appUserId": {
"description": "绑定的业务用户ID;仅家谱管理员可绑定,且用户必须属于当前租户并处于正常状态",
"description": "仅 bindingMode=SPECIFIED 时必填;NONE/SELF 时必须不传。指定用户必须属于当前租户、状态正常,且未绑定当前家谱的其他有效世系人物",
"type": "integer",
"format": "int64"
},
@@ -8890,8 +8925,14 @@
"type": "string"
},
"sex": {
"description": "性别,建议使用系统字典值",
"description": "字典 sys_user_sex0=男,1=女,2=未知",
"type": "string",
"enum": [
"0",
"1",
"2"
],
"x-dict-type": "sys_user_sex",
"examples": [
"0"
]
@@ -8931,8 +8972,16 @@
"format": "date-time"
},
"birthLunar": {
"description": "生日是否农历,使用项目字典值",
"type": "string"
"description": "字典 gen_number_yes_no0=否,1=是",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "gen_number_yes_no",
"examples": [
"0"
]
},
"birthPlace": {
"description": "出生地",
@@ -8946,8 +8995,16 @@
"format": "date-time"
},
"deathLunar": {
"description": "逝世日期是否农历,使用项目字典值",
"type": "string"
"description": "字典 gen_number_yes_no0=否,1=是",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "gen_number_yes_no",
"examples": [
"0"
]
},
"deathPlace": {
"description": "逝世地",
@@ -8958,8 +9015,17 @@
"type": "string"
},
"personStatus": {
"description": "人物状态字典值",
"type": "string"
"description": "字典 gen_lineage_person_status0=健在,1=已故,2=未知",
"type": "string",
"enum": [
"0",
"1",
"2"
],
"x-dict-type": "gen_lineage_person_status",
"examples": [
"0"
]
},
"biography": {
"description": "人物简介",
@@ -9016,8 +9082,13 @@
]
},
"status": {
"description": "动态状态,未传时默认为正常状态",
"description": "字典 sys_normal_disable0=正常,1=停用;未传时默认为0",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "sys_normal_disable",
"examples": [
"0"
]
@@ -9086,12 +9157,30 @@
"type": "string"
},
"visibility": {
"description": "可见范围,例如0私密、1公开、2成员可见",
"type": "string"
"description": "字典 gen_genealogy_visibility0=私密,1=公开,2=成员可见",
"type": "string",
"enum": [
"0",
"1",
"2"
],
"x-dict-type": "gen_genealogy_visibility",
"examples": [
"1"
]
},
"joinMode": {
"description": "加入方式,例如0关闭、1审核、2邀请码",
"type": "string"
"description": "字典 gen_genealogy_join_mode0=关闭加入,1=申请审核,2=邀请码加入",
"type": "string",
"enum": [
"0",
"1",
"2"
],
"x-dict-type": "gen_genealogy_join_mode",
"examples": [
"1"
]
}
},
"examples": [
@@ -9146,12 +9235,30 @@
"type": "string"
},
"visibility": {
"description": "可见范围,例如0私密、1公开、2成员可见",
"type": "string"
"description": "字典 gen_genealogy_visibility0=私密,1=公开,2=成员可见",
"type": "string",
"enum": [
"0",
"1",
"2"
],
"x-dict-type": "gen_genealogy_visibility",
"examples": [
"1"
]
},
"joinMode": {
"description": "加入方式,例如0关闭、1审核、2邀请码",
"type": "string"
"description": "字典 gen_genealogy_join_mode0=关闭加入,1=申请审核,2=邀请码加入",
"type": "string",
"enum": [
"0",
"1",
"2"
],
"x-dict-type": "gen_genealogy_join_mode",
"examples": [
"1"
]
}
},
"examples": [
@@ -9211,8 +9318,18 @@
],
"properties": {
"status": {
"description": "状态,建议使用对应字典值",
"type": "string"
"description": "字典 gen_genealogy_join_apply_status0=待审核,1=通过,2=拒绝,3=取消",
"type": "string",
"enum": [
"0",
"1",
"2",
"3"
],
"x-dict-type": "gen_genealogy_join_apply_status",
"examples": [
"1"
]
},
"auditRemark": {
"description": "审核备注",
@@ -9238,8 +9355,19 @@
"type": "string"
},
"roleType": {
"description": "成员角色类型,例如创建者、管理员、普通成员",
"type": "string"
"description": "字典 gen_genealogy_member_roleowner=谱主,admin=管理员,editor=编辑,member=成员,visitor=访客",
"type": "string",
"enum": [
"owner",
"admin",
"editor",
"member",
"visitor"
],
"x-dict-type": "gen_genealogy_member_role",
"examples": [
"member"
]
},
"lineagePersonId": {
"description": "绑定的世系人物ID",
@@ -9306,8 +9434,16 @@
"maximum": 2147483647
},
"status": {
"description": "状态,0正常,1停用",
"type": "string"
"description": "字典 sys_normal_disable0=正常,1=停用",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "sys_normal_disable",
"examples": [
"0"
]
}
},
"examples": [
@@ -9359,8 +9495,16 @@
"format": "int64"
},
"status": {
"description": "状态,建议使用对应字典值",
"type": "string"
"description": "字典 sys_normal_disable0=正常,1=停用",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "sys_normal_disable",
"examples": [
"0"
]
}
},
"examples": [
@@ -9401,8 +9545,16 @@
"format": "int64"
},
"status": {
"description": "状态,建议使用对应字典值",
"type": "string"
"description": "字典 sys_normal_disable0=正常,1=停用",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "sys_normal_disable",
"examples": [
"0"
]
}
},
"examples": [
@@ -9448,8 +9600,16 @@
"format": "int64"
},
"status": {
"description": "状态,建议使用对应字典值",
"type": "string"
"description": "字典 sys_normal_disable0=正常,1=停用",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "sys_normal_disable",
"examples": [
"0"
]
}
},
"examples": [
@@ -9519,8 +9679,16 @@
"format": "int64"
},
"status": {
"description": "状态,建议使用对应字典值",
"type": "string"
"description": "字典 sys_normal_disable0=正常,1=停用",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "sys_normal_disable",
"examples": [
"0"
]
}
},
"examples": [
@@ -9609,8 +9777,16 @@
"format": "int64"
},
"status": {
"description": "状态,建议使用对应字典值",
"type": "string"
"description": "字典 sys_normal_disable0=正常,1=停用",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "sys_normal_disable",
"examples": [
"0"
]
}
},
"examples": [
@@ -9660,8 +9836,16 @@
"format": "int64"
},
"status": {
"description": "状态,建议使用对应字典值",
"type": "string"
"description": "字典 sys_normal_disable0=正常,1=停用",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "sys_normal_disable",
"examples": [
"0"
]
}
},
"examples": [
@@ -9688,8 +9872,18 @@
"type": "string"
},
"meritType": {
"description": "功德类型",
"type": "string"
"description": "字典 gen_merit_typedonation=捐赠,repair=修祠,public=公益,other=其他",
"type": "string",
"enum": [
"donation",
"repair",
"public",
"other"
],
"x-dict-type": "gen_merit_type",
"examples": [
"donation"
]
},
"meritTitle": {
"description": "功德标题",
@@ -9714,8 +9908,16 @@
"format": "int64"
},
"status": {
"description": "状态,建议使用对应字典值",
"type": "string"
"description": "字典 sys_normal_disable0=正常,1=停用",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "sys_normal_disable",
"examples": [
"0"
]
}
},
"examples": [
@@ -9738,8 +9940,18 @@
],
"properties": {
"feedbackType": {
"description": "反馈类型",
"type": "string"
"description": "字典 gen_feedback_typeadvice=建议,bug=故障,complaint=投诉,other=其他",
"type": "string",
"enum": [
"advice",
"bug",
"complaint",
"other"
],
"x-dict-type": "gen_feedback_type",
"examples": [
"bug"
]
},
"feedbackContent": {
"description": "反馈内容",
@@ -9894,8 +10106,16 @@
"format": "int64"
},
"status": {
"description": "状态,建议使用对应字典值",
"type": "string"
"description": "字典 sys_normal_disable0=正常,1=停用",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "sys_normal_disable",
"examples": [
"0"
]
}
}
},
@@ -10104,8 +10324,16 @@
"format": "int64"
},
"status": {
"description": "状态,建议使用对应字典值",
"type": "string"
"description": "字典 sys_normal_disable0=正常,1=停用",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "sys_normal_disable",
"examples": [
"0"
]
}
}
},
@@ -10554,8 +10782,16 @@
"format": "int64"
},
"status": {
"description": "状态,0正常,1停用",
"type": "string"
"description": "字典 sys_normal_disable0=正常,1=停用",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "sys_normal_disable",
"examples": [
"0"
]
}
}
},
@@ -10748,8 +10984,17 @@
"type": "string"
},
"sex": {
"description": "性别字典值",
"type": "string"
"description": "字典 sys_user_sex0=男,1=女,2=未知",
"type": "string",
"enum": [
"0",
"1",
"2"
],
"x-dict-type": "sys_user_sex",
"examples": [
"2"
]
},
"generation": {
"description": "世代序号",
@@ -10805,8 +11050,16 @@
"format": "date-time"
},
"birthLunar": {
"description": "生日是否农历字典值",
"type": "string"
"description": "字典 gen_number_yes_no0=否,1=是",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "gen_number_yes_no",
"examples": [
"0"
]
},
"birthPlace": {
"description": "出生地",
@@ -10821,8 +11074,16 @@
"format": "date-time"
},
"deathLunar": {
"description": "逝世日期是否农历字典值",
"type": "string"
"description": "字典 gen_number_yes_no0=否,1=是",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "gen_number_yes_no",
"examples": [
"0"
]
},
"deathPlace": {
"description": "逝世地",
@@ -10833,8 +11094,17 @@
"type": "string"
},
"personStatus": {
"description": "人物状态字典值",
"type": "string"
"description": "字典 gen_lineage_person_status0=健在,1=已故,2=未知",
"type": "string",
"enum": [
"0",
"1",
"2"
],
"x-dict-type": "gen_lineage_person_status",
"examples": [
"0"
]
},
"biography": {
"description": "人物简介",
@@ -10846,8 +11116,16 @@
"format": "int64"
},
"status": {
"description": "数据状态,0正常、1停用",
"type": "string"
"description": "字典 sys_normal_disable0=正常,1=停用",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "sys_normal_disable",
"examples": [
"0"
]
},
"remark": {
"description": "备注",
@@ -10914,8 +11192,19 @@
"type": "object",
"properties": {
"relationType": {
"description": "与当前树节点的关系类型",
"type": "string"
"description": "字典 gen_lineage_relation_typefather=父亲,mother=母亲,spouse=配偶,child=子女,adoptive=收养",
"type": "string",
"enum": [
"father",
"mother",
"spouse",
"child",
"adoptive"
],
"x-dict-type": "gen_lineage_relation_type",
"examples": [
"spouse"
]
},
"relationName": {
"description": "关系显示名称",
@@ -11082,8 +11371,13 @@
]
},
"status": {
"description": "可见状态;会员接口仅返回 0(正常展示)",
"description": "字典 sys_normal_disable0=正常展示,1=停用;会员接口仅返回0",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "sys_normal_disable",
"examples": [
"0"
]
@@ -11490,8 +11784,16 @@
"format": "int64"
},
"pinned": {
"description": "是否置顶字典值",
"type": "string"
"description": "字典 gen_number_yes_no0=否,1=是",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "gen_number_yes_no",
"examples": [
"0"
]
},
"pinnedTime": {
"description": "置顶时间",
@@ -11507,8 +11809,16 @@
"format": "int64"
},
"status": {
"description": "状态字典值",
"type": "string"
"description": "字典 sys_normal_disable0=正常,1=停用",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "sys_normal_disable",
"examples": [
"0"
]
},
"remark": {
"description": "备注",
@@ -11680,8 +11990,16 @@
"format": "date-time"
},
"readStatus": {
"description": "阅读状态,0未读、1已读",
"type": "string"
"description": "字典 gen_notification_read_status0=未读,1=已读",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "gen_notification_read_status",
"examples": [
"0"
]
},
"readTime": {
"description": "阅读时间",
@@ -11692,8 +12010,16 @@
"format": "date-time"
},
"status": {
"description": "通知状态",
"type": "string"
"description": "字典 sys_normal_disable0=正常,1=停用",
"type": "string",
"enum": [
"0",
"1"
],
"x-dict-type": "sys_normal_disable",
"examples": [
"0"
]
},
"remark": {
"description": "备注",