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