Commit d9a379d6 by huangfusuper

Merge remote-tracking branch 'origin/developer' into developer

parents d43a119b 0a61b194
......@@ -27,12 +27,8 @@ public class JwtHelper {
String account = String.valueOf(body.get(BaseContextConstants.JWT_KEY_ACCOUNT));
String name = String.valueOf(body.get(BaseContextConstants.JWT_KEY_NAME));
String strOrgId = String.valueOf(body.get(BaseContextConstants.JWT_KEY_ORG_ID));
String strDepartmentId = String.valueOf(body.get(BaseContextConstants.JWT_KEY_STATION_ID));
Long userId = Long.valueOf(strUserId);
Long orgId = Long.valueOf(strOrgId);
Long departmentId = Long.valueOf(strDepartmentId);
return new JwtUserInfo(userId, account, name, orgId, departmentId);
return new JwtUserInfo(userId, account, name, null, null);
}
......
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