|
@ -23,7 +23,7 @@ import java.lang.reflect.Method;
|
|
|
import java.util.Date;
|
|
|
|
|
|
/**
|
|
|
* 患者权限校验
|
|
|
* 患者权限校验.
|
|
|
*
|
|
|
* @author George
|
|
|
*/
|
|
@ -81,7 +81,9 @@ public class PatientInterceptor extends BaseInterceptor {
|
|
|
token = tokenDao.findByPatient(user, platform);
|
|
|
// 加入缓存
|
|
|
if (platform == 3) {
|
|
|
systemDataRedis.setPatientToken(token);
|
|
|
if(token!=null){
|
|
|
systemDataRedis.setPatientToken(token);
|
|
|
}
|
|
|
//SystemData.patientTokens.put(user, token);
|
|
|
}
|
|
|
}
|