Commit 80545817 authored by jiaorz's avatar jiaorz

Merge branch 'master-vehicle-bug' into dev

parents 2a9fb23a b579d035
......@@ -190,7 +190,7 @@ public class AuthController {
data.put("status",1001);
}else {
Integer positionId=result.getInteger("positionId")==null?0:result.getInteger("positionId");
if (positionId==4 || positionId==1 || positionId==2 || positionId==3){
if (positionId <= 5 && positionId > 0){
String token=appAuthService.getToken(username,result.getInteger("userId"));
data.put("token",token);
}else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment