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