'use strict'; const meta = require('./config/.userCoupon.js'); const Controller = require('egg').Controller; const { CrudController } = require('naf-framework-mongoose-free/lib/controller'); // class UserCouponController extends Controller { constructor(ctx) { super(ctx); this.service = this.ctx.service.user.userCoupon; } } module.exports = CrudController(UserCouponController, meta);