Merge teacher reply cleanup with continuous conversations

This commit is contained in:
鲨鱼辣椒 committed 2026-09-28 18:29:04 +08:00
commit 581ebc888b
40 files changed
+1759 -1988

No files matched your search

-5
View File
@@ -5,7 +5,6 @@ import type {
TeacherCheckInResult,
TeacherCatalog,
TeacherDefinition,
TeacherDiscussionAction,
TeacherSend,
TeacherTopic,
TeacherTopicList,
@@ -61,10 +60,6 @@ export const teacherApi = {
method: 'POST',
body: JSON.stringify(input),
}),
updateDiscussion: (base: string, id: string, input: TeacherDiscussionAction) =>
hostApiFetch<TeacherTopic>(base + '/' + encodeURIComponent(id) + '/discussion', {
method: 'POST', body: JSON.stringify(input),
}),
cancel: (base: string, id: string, requestId: string) =>
hostApiFetch<TeacherTopic>(
base +