Commit cf06130d authored by hezhen's avatar hezhen

123

parent f71b1822
......@@ -102,7 +102,7 @@ public class AuthController {
if(result==null){
data.put("status",1001);
}else {
String token=appAuthService.getToken(username,result.getInteger("userid"));
String token=appAuthService.getToken(username,result.getInteger("userId"));
data.put("token",token);
}
}
......@@ -122,7 +122,7 @@ public class AuthController {
if(result==null){
data.put("status",1001);
}else {
String token=appAuthService.getToken(result.getString("username"),result.getInteger("userid"));
String token=appAuthService.getToken(result.getString("username"),result.getInteger("userId"));
data.put("token",token);
}
}
......@@ -141,7 +141,7 @@ public class AuthController {
if(result==null){
data.put("status",1001);
}else {
String token=appAuthService.getToken(username,result.getInteger("userid"));
String token=appAuthService.getToken(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