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