channelVideo.js 444 B

12345678910111213
  1. 'use strict';
  2. const meta = require('./config/.channelVideo.js');
  3. const Controller = require('egg').Controller;
  4. const { CrudController } = require('naf-framework-mongoose-free/lib/controller');
  5. // 科技频道-视频
  6. class ChannelVideoController extends Controller {
  7. constructor(ctx) {
  8. super(ctx);
  9. this.service = this.ctx.service.channel.channelVideo;
  10. }
  11. }
  12. module.exports = CrudController(ChannelVideoController, meta);