12345678910111213141516171819 |
- 'use strict';
- const _ = require('lodash');
- const meta = require('./.room.js');
- const Controller = require('egg').Controller;
- const { CrudController } = require('naf-framework-mongoose/lib/controller');
- // 聊天房间表管理
- class RoomController extends Controller {
- constructor(ctx) {
- super(ctx);
- this.service = this.ctx.service.room;
- }
- }
- module.exports = CrudController(RoomController, meta);
|