Commit 4a857c6d authored by hezhen's avatar hezhen

123

parent 3f3aab8a
......@@ -181,7 +181,7 @@ public class AuthController {
if(result==null){
data.put("status",1001);
}else {
String token=appAuthService.getToken(String.valueOf(data.get("username")),data.getInteger("userId"));
String token=appAuthService.getToken(String.valueOf(result.get("username")),result.getInteger("userId"));
data.put("token",token);
}
}
......@@ -199,7 +199,7 @@ public class AuthController {
if(result==null){
data.put("status",1001);
}else {
String token=appAuthService.getToken(String.valueOf(data.get("username")),data.getInteger("userId"));
String token=appAuthService.getToken(String.valueOf(result.get("username")),result.getInteger("userId"));
data.put("token",token);
}
}
......
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