Browse Source

添加上门辅导content_type

bing 4 years ago
parent
commit
7dc79de05e
2 changed files with 9 additions and 0 deletions
  1. 5 0
      src/server/include/commons.js
  2. 4 0
      src/server/models/client/wechat.client.js

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

@ -157,6 +157,11 @@ const CONTENT_TYPES = {
    ChangeDoorDoctor: 2103,//上门服务-变更工单医生信息
    ChangeDoorPackageItems:2104, //上门服务-变更工单服务项信息
    InformedConsent:2105,//知情通知书
    ReservationDoorCoachCardInfo: 2201,//上门辅导服务-预约工单卡片信息
    ChangeDoorCoachCardInfo: 2202,//上门辅导服务-修改工单卡片信息
    ChangeDoorCoachDoctor: 2203,//上门辅导服务-变更工单医生信息
    ChangeDoorCoachPackageItems:2204, //上门辅导服务-变更工单服务项信息
    CoachInformedConsent:2205,//上门辅导服务 知情通知书
    emergencyAssistance:40,//医疗云-紧急救助
    typeToDescription: function (type, defaultDescription) {
        if (CONTENT_TYPES.Image == type) {

+ 4 - 0
src/server/models/client/wechat.client.js

@ -72,6 +72,10 @@ class WechatClient extends RedisModel {
            message.content_type == CONTENT_TYPES.ChangeDoorCardInfo ||
            message.content_type == CONTENT_TYPES.ChangeDoorDoctor ||
            message.content_type == CONTENT_TYPES.ChangeDoorPackageItems ||
            message.content_type == CONTENT_TYPES.ReservationDoorCoachCardInfo ||
            message.content_type == CONTENT_TYPES.ChangeDoorCoachCardInfo ||
            message.content_type == CONTENT_TYPES.ChangeDoorCoachDoctor ||
            message.content_type == CONTENT_TYPES.ChangeDoorCoachPackageItems ||
            message.content_type == CONTENT_TYPES.VideoAnswerStatus ||
            message.content_type == CONTENT_TYPES.Screening ||
            message.content_type == CONTENT_TYPES.PrescriptionReject ||