groupscore.js 427 B

12345678910111213141516
  1. 'use strict';
  2. const _ = require('lodash');
  3. const Controller = require('egg').Controller;
  4. const meta = require('./.groupscore.js');
  5. const { CrudController } = require('naf-framework-mongoose/lib/controller');
  6. // 科目管理
  7. class GroupscoreController extends Controller {
  8. constructor(ctx) {
  9. super(ctx);
  10. this.service = this.ctx.service.groupscore;
  11. }
  12. }
  13. module.exports = CrudController(GroupscoreController, meta);