video.js 410 B

12345678910111213141516
  1. 'use strict';
  2. const _ = require('lodash');
  3. const meta = require('./.video.js');
  4. const Controller = require('egg').Controller;
  5. const { CrudController } = require('naf-framework-mongoose/lib/controller');
  6. // 宣传视频表
  7. class VideoController extends Controller {
  8. constructor(ctx) {
  9. super(ctx);
  10. this.service = this.ctx.service.video;
  11. }
  12. }
  13. module.exports = CrudController(VideoController, meta);