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