feat 存档

This commit is contained in:
2026-01-30 14:42:24 +08:00
parent a53bbc3319
commit 3e99715eac
5 changed files with 50 additions and 9 deletions

View File

@@ -217,6 +217,43 @@ const api = {
})
},
getCategoryQuestion(categorySn) {
return request({
url: config.api.getCategoryQuestion,
method: 'POST',
data: { category_sn: categorySn }
})
},
answerCategoryQuestion(sn, answer) {
return request({
url: config.api.answerCategoryQuestion,
method: 'POST',
data: {
sn,
answer
}
})
},
getQuicklyQuestion() {
return request({
url: config.api.getQuicklyQuestion,
method: 'POST'
})
},
answerQuicklyQuestion(sn, answer) {
return request({
url: config.api.answerQuicklyQuestion,
method: 'POST',
data: {
sn,
answer
}
})
},
getAllCategory() {
return request({
url: config.api.getAllCategory,