123456789101112131415 |
- 'use strict';
- const { CrudService } = require('naf-framework-mongoose-free/lib/service');
- const { BusinessError, ErrorCode } = require('naf-core').Error;
- const _ = require('lodash');
- const assert = require('assert');
- // 题目类型
- class Question_typeService extends CrudService {
- constructor(ctx) {
- super(ctx, 'question_type');
- this.model = this.ctx.model.QuestionType;
- }
- }
- module.exports = Question_typeService;
|