feat: 管理端用户列表显示姓名和公司

This commit is contained in:
Nixevol
2026-11-18 11:53:05 +08:00
parent 032c5280e7
commit 199960276a
8 changed files with 86 additions and 1 deletions
+2
View File
@@ -75,6 +75,8 @@ def list_users(db: Session) -> list[dict]:
rows.append(
{
"employee_id": account.employee_id,
"user_name": account.user_name or "",
"company": account.company or "",
"has_credential": bool(account.credential_cipher),
"refresh_paused": bool(account.refresh_paused),
"last_refresh_at": _iso_time(account.last_refresh_at),