|
@ -453,7 +453,7 @@ class WechatClient extends RedisModel {
|
|
|
let pc_patientClient = clientCache.findByIdAndType("pcpatient_system_"+targetUserId,SOCKET_TYPES.PC_PATIENT_SYSTEM);
|
|
|
if(!patientClient&&!pc_patientClient){
|
|
|
log.warn("target patient systemt is not online!");
|
|
|
return;
|
|
|
// return;
|
|
|
}
|
|
|
|
|
|
var patientcount = 0;
|
|
@ -490,7 +490,7 @@ class WechatClient extends RedisModel {
|
|
|
name: message.sender_name,
|
|
|
});
|
|
|
}else{
|
|
|
count++;
|
|
|
patientcount++;
|
|
|
}
|
|
|
|
|
|
if(patientcount==2){
|
|
@ -502,7 +502,7 @@ class WechatClient extends RedisModel {
|
|
|
let pc_doctorClient = clientCache.findByIdAndType("pc_system_"+targetUserId,SOCKET_TYPES.PC_DOCTOR_SYSTEM);
|
|
|
if(!doctorClient&&!pc_doctorClient){
|
|
|
log.warn("target doctor system is not online!");
|
|
|
return;
|
|
|
// return;
|
|
|
}
|
|
|
|
|
|
var doctorcount = 0;
|