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