1234567891011121314151617 |
- 'use strict';
- const { CrudService } = require('naf-framework-mongoose/lib/service');
- const { BusinessError, ErrorCode } = require('naf-core').Error;
- const { ObjectId } = require('mongoose').Types;
- const _ = require('lodash');
- const assert = require('assert');
- const jwt = require('jsonwebtoken');
- // 证书资料
- class Achieve_certService extends CrudService {
- constructor(ctx) {
- super(ctx, "achieve_cert");
- this.model = this.ctx.model.AchieveCert;
- }
- }
- module.exports = Achieve_certService;
|