You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
435 B
JavaScript
15 lines
435 B
JavaScript
|
3 months ago
|
import request from "@/utils/request";
|
||
|
|
|
||
|
|
export function createStudentDemoSession(teachingClassId) {
|
||
|
|
return request({ url: "/api/teacher/student-demo-sessions", method: "post", data: { teachingClassId } });
|
||
|
|
}
|
||
|
|
|
||
|
|
export function exchangeStudentDemoSession(ticket) {
|
||
|
|
return request({
|
||
|
|
url: "/api/student-demo-sessions/exchange",
|
||
|
|
method: "post",
|
||
|
|
data: { ticket },
|
||
|
|
headers: { isToken: false, repeatSubmit: false },
|
||
|
|
});
|
||
|
|
}
|