|
|
@ -43,7 +43,7 @@ public class BallcatOAuth2TokenCustomizer implements OAuth2TokenCustomizer<OAuth
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private static HashMap<String, Object> getUserInfoMap(User user) {
|
|
|
|
private static HashMap<String, Object> getUserInfoMap(User user) {
|
|
|
|
HashMap<String, Object> userInfo = new HashMap<>(6);
|
|
|
|
HashMap<String, Object> userInfo = new HashMap<>(12);
|
|
|
|
userInfo.put(UserInfoFiledNameConstants.USER_ID, user.getUserId());
|
|
|
|
userInfo.put(UserInfoFiledNameConstants.USER_ID, user.getUserId());
|
|
|
|
userInfo.put(UserInfoFiledNameConstants.TYPE, user.getType());
|
|
|
|
userInfo.put(UserInfoFiledNameConstants.TYPE, user.getType());
|
|
|
|
userInfo.put(UserInfoFiledNameConstants.SALESMAN_TYPE, user.getSalesmanType());
|
|
|
|
userInfo.put(UserInfoFiledNameConstants.SALESMAN_TYPE, user.getSalesmanType());
|
|
|
@ -55,6 +55,7 @@ public class BallcatOAuth2TokenCustomizer implements OAuth2TokenCustomizer<OAuth
|
|
|
|
userInfo.put(UserInfoFiledNameConstants.GENDER, user.getGender());
|
|
|
|
userInfo.put(UserInfoFiledNameConstants.GENDER, user.getGender());
|
|
|
|
userInfo.put(UserInfoFiledNameConstants.PHONE_NUMBER, user.getPhoneNumber());
|
|
|
|
userInfo.put(UserInfoFiledNameConstants.PHONE_NUMBER, user.getPhoneNumber());
|
|
|
|
userInfo.put(UserInfoFiledNameConstants.STATUS, user.getStatus());
|
|
|
|
userInfo.put(UserInfoFiledNameConstants.STATUS, user.getStatus());
|
|
|
|
|
|
|
|
userInfo.put(UserInfoFiledNameConstants.WHICH_USER_ID, user.getWhichUserId());
|
|
|
|
return userInfo;
|
|
|
|
return userInfo;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|