|
@ -81,7 +81,9 @@ public class PatientInterceptor extends BaseInterceptor {
|
|
token = tokenDao.findByPatient(user, platform);
|
|
token = tokenDao.findByPatient(user, platform);
|
|
// 加入缓存
|
|
// 加入缓存
|
|
if (platform == 3) {
|
|
if (platform == 3) {
|
|
systemDataRedis.setPatientToken(token);
|
|
|
|
|
|
if(token!=null){
|
|
|
|
systemDataRedis.setPatientToken(token);
|
|
|
|
}
|
|
//SystemData.patientTokens.put(user, token);
|
|
//SystemData.patientTokens.put(user, token);
|
|
}
|
|
}
|
|
}
|
|
}
|