Преглед на файлове

获取消息增加0类型

преди 8 години
родител
ревизия
ecaf5c9812
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/doctor/models/doctor.js

+ 1 - 1
src/doctor/models/doctor.js

@ -526,7 +526,7 @@ class Doctor extends BaseModel {
    getPrivateMessages(userId, peerId, contentType, msgStartId, msgEndId, count, closedInterval) {
        let self = this;
        pmRepo.findAllMessages(userId, peerId, contentType === undefined ? "1,2,3,4,5,6" : contentType, msgStartId, msgEndId, count, closedInterval, function (err, rows) {
        pmRepo.findAllMessages(userId, peerId, contentType === undefined ? "0,1,2,3,4,5,6" : contentType, msgStartId, msgEndId, count, closedInterval, function (err, rows) {
            if (err) {
                modelUtil.emitDbError(self.eventEmitter, 'Get private message failed', err);
                return;