瀏覽代碼

成员变化的时候时间更新为空问题处理

8 年之前
父節點
當前提交
7101112efb
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. 1 1
      src/server/include/commons.js
  2. 2 1
      src/server/models/client/app.client.js

+ 1 - 1
src/server/include/commons.js

@ -77,7 +77,7 @@ const CONTENT_TYPES = {
    Image: 2,       // 图片信息
    Audio: 3,       // 语音信息
    Article: 4,     // 文章信息
    GoTo: 5,        // 跳转信息
    GoTo: 5,        // 跳转信息,求组其他医生或者邀请其他医生发送的推送消息
    TopicBegin: 6,  // 议题开始
    TopicEnd: 7,    // 议题结束 10 11 系统发送的会话消息
    Video:12,//视频

+ 2 - 1
src/server/models/client/app.client.js

@ -97,7 +97,8 @@ class AppClient extends RedisModel {
        if (message.content_type == CONTENT_TYPES.PlainText ||
            message.content_type == CONTENT_TYPES.Image ||
            message.content_type == CONTENT_TYPES.Audio||
            message.content_type == CONTENT_TYPES.Video) {
            message.content_type == CONTENT_TYPES.Video||
            message.content_type == CONTENT_TYPES.GoTo) {
            AppClient.getAppStatus(targetId, function (err, userStatus) {
                if (err) {