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