fix: 注销和删除会停掉学习,并去掉全员状态接口
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user