fix: 注销和删除会停掉学习,并去掉全员状态接口

This commit is contained in:
2026-11-16 02:40:05 +08:00
parent 08e5a1b849
commit 42f2b457a0
6 changed files with 29 additions and 11 deletions
-7
View File
@@ -395,13 +395,6 @@ def delete_proxy(request: Request, db: Session = Depends(get_db)) -> dict:
return view_of(account)
@app.get("/api/autostudy/status")
def autostudy_state(request: Request, db: Session = Depends(get_db)) -> dict:
_signed_in(request, db)
from euniv.autostudy import autostudy_status
return autostudy_status()
@app.get("/api/settings/study-control")
def get_study_control(request: Request, db: Session = Depends(get_db)) -> dict:
from euniv.autostudy import autostudy_status