123456789101112131415161718 |
- 'use strict';
- const _ = require('lodash');
- const meta = require('./.chatroom.js');
- const Controller = require('egg').Controller;
- const { CrudController } = require('naf-framework-mongoose/lib/controller');
- // 课后答疑房间
- class ChatroomController extends Controller {
- constructor(ctx) {
- super(ctx);
- this.service = this.ctx.service.chatroom;
- }
- }
- module.exports = CrudController(ChatroomController, meta);
|