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