12345678910111213141516171819 |
- 'use strict';
- const _ = require('lodash');
- const Controller = require('egg').Controller;
- const meta = require('./.question.js');
- const { CrudController } = require('naf-framework-mongoose/lib/controller');
- // 科目管理
- class QusetionController extends Controller {
- constructor(ctx) {
- super(ctx);
- this.service = this.ctx.service.question;
- }
- }
- module.exports = CrudController(QusetionController, meta);
|