feat: 增加公告栏并让用户自选学时判断
This commit is contained in:
@@ -56,11 +56,14 @@ def _stored(value: object, default: int, high: int) -> int:
|
||||
|
||||
|
||||
def view_of(account) -> dict:
|
||||
from admin.settings import account_hours_source
|
||||
|
||||
return {
|
||||
"heartbeat_mode": mode_of(account),
|
||||
"heartbeat_video_seconds": video_of(account),
|
||||
"heartbeat_document_seconds": document_of(account),
|
||||
"heartbeat_scorm_seconds": scorm_of(account),
|
||||
"hours_source": account_hours_source(account),
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user