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