'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 PayOrderService extends CrudService { constructor(ctx) { super(ctx, 'payorder'); this.model = this.ctx.model.Business.PayOrder; this.payService = this.ctx.service.wxpay; } } module.exports = PayOrderService;