fix: 注销后关掉学习连接,目标为零不再显示成零比零

This commit is contained in:
2026-11-16 15:57:23 +08:00
parent 1cd7c7f818
commit 58b3dedb2a
8 changed files with 97 additions and 16 deletions
+2
View File
@@ -316,8 +316,10 @@ def delete_user(db: Session, employee_id: str) -> dict:
db.delete(account)
db.commit()
from euniv.autostudy import stop_account
from euniv.study_push import close_account
stop_account(employee_id)
close_account(employee_id)
from euniv.service import release_credential_lock
release_credential_lock(employee_id)