'use strict'; const _ = require('lodash'); const Controller = require('egg').Controller; const { CrudController } = require('naf-framework-mongoose/lib/controller'); // 产品审核表管理 class BuffController extends Controller { constructor(ctx) { super(ctx); this.service = this.ctx.service.buff; } async userlist() { const res = await this.service.userlist(this.ctx.query); this.ctx.ok({ ...res }); } async userCodeList() { const res = await this.service.userlist(this.ctx.query); this.ctx.ok({ ...res }); } } module.exports = BuffController;