医学道
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
video/types/topic.d.ts

20 lines
424 B

1 year ago
/** 判断题 & 简答题 */
interface ShareSubject {
question_type: 1 | 2 | 3
question: string //课题题目
score: number //课题分数
right_answer?: string // 正确答案
analysis: string //课题解析
course_id: number
hour_id: number
}
/** 选择题 */
interface Multi extends ShareSubject {
type: boolean //是否多选
answerA: string
answerB: string
answerC: string
answerD: string
}