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.
20 lines
436 B
20 lines
436 B
/** 判断题 & 简答题 */
|
|
interface ShareSubject {
|
|
id:number
|
|
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
|
|
}
|
|
|