123456789101112131415161718 |
- 'use strict';
- const assert = require('assert');
- const _ = require('lodash');
- const { ObjectId } = require('mongoose').Types;
- const { CrudService } = require('naf-framework-mongoose/lib/service');
- const { BusinessError, ErrorCode } = require('naf-core').Error;
- class HotspotService extends CrudService {
- constructor(ctx) {
- super(ctx, 'hotspot');
- this.model = this.ctx.model.Hotspot;
- // this.umodel = this.ctx.model.User;
- }
- }
- module.exports = HotspotService;
|