lrf402788946 4 years ago
parent
commit
36f1b07d8f
1 changed files with 17 additions and 0 deletions
  1. 17 0
      app/service/imgtxtdock.js

+ 17 - 0
app/service/imgtxtdock.js

@@ -0,0 +1,17 @@
+'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 ImgtxtdockService extends CrudService {
+  constructor(ctx) {
+    super(ctx, 'imgtxtdock');
+    this.model = this.ctx.model.Imgtxtdock;
+  }
+}
+
+module.exports = ImgtxtdockService;