exam.js 402 B

12345678910111213141516
  1. 'use strict';
  2. const { CrudService } = require('naf-framework-mongoose-free/lib/service');
  3. const { BusinessError, ErrorCode } = require('naf-core').Error;
  4. const _ = require('lodash');
  5. const assert = require('assert');
  6. const { ObjectId } = require('mongoose').Types;
  7. // 试卷表
  8. class ExamService extends CrudService {
  9. constructor(ctx) {
  10. super(ctx, 'exam');
  11. }
  12. }
  13. module.exports = ExamService;