优化彩色课表占用识别,仅记录有课无课并简化校对
This commit is contained in:
@@ -151,7 +151,7 @@ def install(app, get_db, current_user, file_root, collector_emails):
|
||||
@app.get('/api/timetables/schema')
|
||||
async def schema(viewer=Depends(current_user)):
|
||||
return {'schema_version': 1, 'week_types': {'odd': '单周', 'even': '双周'}, 'days': ocr.DAYS, 'slots': ocr.SLOTS,
|
||||
'states': {'busy': '有课', 'free': '空闲', 'unknown': '待确认'},
|
||||
'states': {'busy': '有课', 'free': '无课', 'unknown': '待确认'},
|
||||
'export': '/api/timetables/export?format=json&confirmed_only=true',
|
||||
'privacy': '本人可导出自己的课表;收取负责人可导出全部;不包含邮箱和手机号',
|
||||
'eligibility': '仅已确认课表中的free时段可列为可值班;unknown不能当作空闲',
|
||||
|
||||
Reference in New Issue
Block a user