create: 学习前先打开播放页并跳过已完成
MemRelay-Operation: memory-save:decision-study-open-play-skip-done-20261115 MemRelay-Resource: 2e49196d-0be4-487d-b4cf-f8c1d1de25bf
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
---
|
||||
title: 学习前先打开播放页并跳过已完成
|
||||
type: decision
|
||||
permalink: main/projects/f5708b07-f0ea-42a4-b4ed-0e5443990ff9/学习前先打开播放页并跳过已完成
|
||||
stable_id: 2e49196d-0be4-487d-b4cf-f8c1d1de25bf
|
||||
scope: project
|
||||
memory_type: decision
|
||||
project_id: f5708b07-f0ea-42a4-b4ed-0e5443990ff9
|
||||
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
|
||||
status: active
|
||||
revision: 1
|
||||
request_id: decision-study-open-play-skip-done-20261115
|
||||
created_at: '2026-11-15T01:26:44.725227+00:00'
|
||||
updated_at: '2026-11-15T01:26:44.725227+00:00'
|
||||
tags:
|
||||
- study
|
||||
- heartbeat
|
||||
- autostudy
|
||||
---
|
||||
|
||||
自动学习每门课都先 GET 播放页(手动心跳间隔也一样),用页面 pageSize/submitProTimes/validtimeSpan,再 POST updateprogress。studyschedule>=100 或 status=Completed 则跳过,不发心跳。Scorm 可能 status=NoStart 但 schedule 已经是 100,以百分比为准。
|
||||
|
||||
视频 POST /v1/study/submitpro type=0;文档 POST /v1/study/submit type=1,pageSize 用播放页页数不是 1;Scorm type=2。心跳间隔 0 表示不等待,请求体 studyTime 仍用播放页 30/120。
|
||||
|
||||
验证:96 pytest。真实会话只读 updateprogress:已完成文档 pageSize=69/70/43 等、status=Completed;未学视频 NoStart schedule=0,knowledgeId 带连字符 HTTP 200。未发真实 submitpro。
|
||||
Reference in New Issue
Block a user