|
@ -115,7 +115,9 @@ public class DoctorInterceptor extends BaseInterceptor {
|
|
|
Map<String, Token> tempMap = null;
|
|
|
if (platform == 2) {
|
|
|
tempMap = SystemData.doctorTokens;
|
|
|
} else {
|
|
|
}else if (platform == 5) {
|
|
|
tempMap = SystemData.prescriptionPCTokens;
|
|
|
}else {
|
|
|
tempMap = SystemData.doctorPCTokens;
|
|
|
}
|
|
|
token = tempMap.get(uid);
|
|
@ -126,7 +128,8 @@ public class DoctorInterceptor extends BaseInterceptor {
|
|
|
tempMap.put(uid, token);
|
|
|
}
|
|
|
}
|
|
|
if (token == null || (token.getPlatform() != 2&&token.getPlatform() != 4)) {
|
|
|
//1、患者端,2、医生端app,3、微信公众号wechat,4、医生端pc,5、PC端取药系统
|
|
|
if (token == null || (token.getPlatform() != 2&&token.getPlatform() != 4&&token.getPlatform() != 5)) {
|
|
|
// 未登录
|
|
|
response.getOutputStream().write(error(SystemConf.NOT_LOGIN, "请登录后再操作!").getBytes());
|
|
|
flag = false;
|