Browse Source

代码修改

LAPTOP-KB9HII50\70708 3 years ago
parent
commit
9971e11349

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

@ -169,6 +169,7 @@ const CONTENT_TYPES = {
    ConsultSuggest: 34, //咨询建议
    ConsultSuggest: 34, //咨询建议
    PayMessage: 35, //支付消息
    PayMessage: 35, //支付消息
    surveyMessage: 36, //患者答完问卷
    surveyMessage: 36, //患者答完问卷
    VideoAnswerAck: 39, //视屏请求确认
    ReservationDoorCardInfo: 2101,//上门服务-预约工单卡片信息
    ReservationDoorCardInfo: 2101,//上门服务-预约工单卡片信息
    ChangeDoorCardInfo: 2102,//上门服务-修改工单卡片信息
    ChangeDoorCardInfo: 2102,//上门服务-修改工单卡片信息
    ChangeDoorDoctor: 2103,//上门服务-变更工单医生信息
    ChangeDoorDoctor: 2103,//上门服务-变更工单医生信息

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

@ -220,6 +220,7 @@ class AppClient extends RedisModel {
            message.content_type == CONTENT_TYPES.Audio||
            message.content_type == CONTENT_TYPES.Audio||
            message.content_type == CONTENT_TYPES.Video||
            message.content_type == CONTENT_TYPES.Video||
            message.content_type == CONTENT_TYPES.GoTo||
            message.content_type == CONTENT_TYPES.GoTo||
            message.content_type == CONTENT_TYPES.VideoAnswerStatus||
            sessionType==SESSION_TYPES.SYSTEM) {
            sessionType==SESSION_TYPES.SYSTEM) {
            AppClient.getAppStatus(targetId, function (err, userStatus) {
            AppClient.getAppStatus(targetId, function (err, userStatus) {

+ 3 - 1
src/server/models/client/wechat.client.js

@ -77,6 +77,7 @@ class WechatClient extends RedisModel {
            message.content_type == CONTENT_TYPES.ChangeDoorCoachDoctor ||
            message.content_type == CONTENT_TYPES.ChangeDoorCoachDoctor ||
            message.content_type == CONTENT_TYPES.ChangeDoorCoachPackageItems ||
            message.content_type == CONTENT_TYPES.ChangeDoorCoachPackageItems ||
            message.content_type == CONTENT_TYPES.VideoAnswerStatus ||
            message.content_type == CONTENT_TYPES.VideoAnswerStatus ||
            message.content_type == CONTENT_TYPES.VideoAnswerAck ||
            message.content_type == CONTENT_TYPES.Screening ||
            message.content_type == CONTENT_TYPES.Screening ||
            message.content_type == CONTENT_TYPES.PrescriptionReject ||
            message.content_type == CONTENT_TYPES.PrescriptionReject ||
            message.content_type == CONTENT_TYPES.PrescriptionSuggest ||
            message.content_type == CONTENT_TYPES.PrescriptionSuggest ||
@ -453,7 +454,8 @@ class WechatClient extends RedisModel {
            });
            });
            //新增发送医生外层
            //新增发送医生外层
            if(message.content_type == CONTENT_TYPES.VideoAnswerStatus){
            if(message.content_type == CONTENT_TYPES.VideoAnswerStatus ||
                message.content_type == CONTENT_TYPES.VideoAnswerAck){
                doctorAPPSYSTEMClient.socket.emit('message', {
                doctorAPPSYSTEMClient.socket.emit('message', {
                    id: message.id,
                    id: message.id,
                    session_id: message.session_id,
                    session_id: message.session_id,