123456789101112131415161718 |
- 'use strict';
- const _ = require('lodash');
- const meta = require('./.festival.js');
- const Controller = require('egg').Controller;
- const { CrudController } = require('naf-framework-mongoose/lib/controller');
- // 节假日管理
- class FestivalController extends Controller {
- constructor(ctx) {
- super(ctx);
- this.service = this.ctx.service.festival;
- }
- }
- module.exports = CrudController(FestivalController, meta);
|