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