'use strict'; const meta = require('./config/.role.js'); const Controller = require('egg').Controller; const { CrudController } = require('naf-framework-mongoose-free/lib/controller'); // 角色 class RoleController extends Controller { constructor(ctx) { super(ctx); this.service = this.ctx.service.dev.role; } } module.exports = CrudController(RoleController, meta);