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