kjzlOrder.js 426 B

123456789101112131415
  1. 'use strict';
  2. const { CrudService } = require('naf-framework-mongoose-free/lib/service');
  3. const { BusinessError, ErrorCode } = require('naf-core').Error;
  4. const _ = require('lodash');
  5. const assert = require('assert');
  6. // 科教之旅订单
  7. class KjzlOrderService extends CrudService {
  8. constructor(ctx) {
  9. super(ctx, 'kjzl_order');
  10. this.model = this.ctx.model.Kjzl.KjzlOrder;
  11. }
  12. }
  13. module.exports = KjzlOrderService;