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