初次提交
Build VoiceHub FPK / build-fpk (push) Failing after 56m5s
Build and Push Docker Image / build-and-push (push) Canceled after 1h9m35s

This commit is contained in:
2026-09-06 08:19:02 +08:00
commit 4ce4649aaf
1061 changed files with 337258 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
/**
* 获取用户状态的中文显示文本
* @param status 用户状态枚举值
* @returns 中文显示文本
*/
export function getStatusText(status: string | null | undefined): string {
const statusMap: Record<string, string> = {
active: '正常',
withdrawn: '退学',
graduate: '毕业生',
};
return status ? (statusMap[status] || status) : '未知';
}