|
@ -143,7 +143,16 @@ public class DoctorInterceptor extends BaseInterceptor {
|
|
token = tokenDao.findByPatient(uid, platform);
|
|
token = tokenDao.findByPatient(uid, platform);
|
|
if (token != null) {
|
|
if (token != null) {
|
|
// 加入缓存
|
|
// 加入缓存
|
|
tempMap.put(uid, token);
|
|
|
|
|
|
if (platform == 2) {
|
|
|
|
//tempMap = SystemData.doctorTokens;
|
|
|
|
systemDataRedis.setDoctorToken(token);
|
|
|
|
} else if (platform == 4) {
|
|
|
|
//tempMap = SystemData.doctorPCTokens;
|
|
|
|
systemDataRedis.setDoctorPCToken(token);
|
|
|
|
}else if(platform ==5){
|
|
|
|
//tempMap = SystemData.doctorWXTokens;
|
|
|
|
systemDataRedis.setDoctorWXToken(token);
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// 2、医生端app,3、微信公众号wechat,4、医生端pc,或者 PC端取药系统 或者对外系统
|
|
// 2、医生端app,3、微信公众号wechat,4、医生端pc,或者 PC端取药系统 或者对外系统
|