fix: 新增逻辑,取消ws

This commit is contained in:
杨航
2025-09-19 10:52:25 +08:00
parent 5394124185
commit a895c928bd
3 changed files with 64 additions and 8 deletions
+18 -1
View File
@@ -12,7 +12,6 @@ export const getCourseStudyInfoApi = (data) => {
data
});
};
// 获取课程学习 知识点 接口
export const queryTraStdyBatchWaitParagraphInfoApi = (data) => {
return request({
@@ -147,6 +146,24 @@ export const getAskAboutRawApi = (data) => {
})
};
// 学习开始
export const studyStartApi = (data) => {
return request({
url: base_url + '/traStdychat/studyStart',
method: 'post',
toastErrors: true,
data
});
};
// 学习结束
export const studyEndApi = (data) => {
return request({
url: base_url + '/traStdychat/studyEnd',
method: 'post',
toastErrors: true,
data
});
};
// 学习 对话
export const textChartApi = (data) => {