question.js 262 B

123456789101112131415
  1. import utils from "../js/utils.js";
  2. /**
  3. * 题目相关接口
  4. */
  5. module.exports = {
  6. /**
  7. * 记录错题
  8. * @returns {Promise<*>}
  9. */
  10. addQuestionWrong(handler, data = {}) {
  11. return utils.http(handler, 'question/wrongAdd', data)
  12. },
  13. }