123456789101112131415 |
- 'use strict';
- const { CrudService } = require('naf-framework-mongoose/lib/service');
- const { BusinessError, ErrorCode } = require('naf-core').Error;
- const _ = require('lodash');
- const assert = require('assert');
- // 客服服务对话记录
- class Customer_chatService extends CrudService {
- constructor(ctx) {
- super(ctx, 'customer_chat');
- this.model = this.ctx.model.CustomerChat;
- }
- }
- module.exports = Customer_chatService;
|