'use strict'; const { CrudService } = require('naf-framework-mongoose-free/lib/service'); const { BusinessError, ErrorCode } = require('naf-core').Error; const _ = require('lodash'); const assert = require('assert'); // 类型 class TypeService extends CrudService { constructor(ctx) { super(ctx, "type"); this.model = this.ctx.model.Type; } } module.exports = TypeService;