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