Skip to content

dingbaoping/certificate-mini

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

certificate-mini

小程序 - 在线题库

后端可以参考下 xughv/cert 中的部分

数据返回格式
{
    code: 0,
    data: (JSON 数据)
}

[Category]:

_id: {
    type: Schema.Types.ObjectId,
},
name: {
    type: String,
}

[Chapter]:

_id: {
    type: Schema.Types.ObjectId,
},
name: {
    type: String,
},
categoryId: {
    type: Schema.Types.ObjectId,
},

[Problem]:

_id: {
    type: Schema.Types.ObjectId,
},
chapterId: {
    type: Schema.Types.ObjectId,
},
problem: {
    type: String,
},
choices: {
    type: Schema.Types.Mixed,
},
answer: {
    type: [String],
},
analysis: {
    type: String,
}

数据落地在 mongodb

image

image

image

About

小程序 - 在线题库

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%