fix: 注销后关掉学习连接,目标为零不再显示成零比零
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user