1234567891011121314151617 |
- 'use strict';
- const _ = require('lodash');
- const meta = require('./.classtype.js');
- const Controller = require('egg').Controller;
- const { CrudController } = require('naf-framework-mongoose/lib/controller');
- // 班级类型管理
- class ClasstypeController extends Controller {
- constructor(ctx) {
- super(ctx);
- this.service = this.ctx.service.classtype;
- }
- }
- module.exports = CrudController(ClasstypeController, meta);
|