|
|
|
@ -24,10 +24,7 @@ import constants.Constants;
|
|
|
|
|
import constants.ErrorConstants;
|
|
|
|
|
import constants.TaskPointIdConstants;
|
|
|
|
|
import dto.UserLoginDto;
|
|
|
|
|
import enums.UserBankStateEnum;
|
|
|
|
|
import enums.UserRealNameStateEnum;
|
|
|
|
|
import enums.UserStatusEnum;
|
|
|
|
|
import enums.WithdrawStateEnum;
|
|
|
|
|
import enums.*;
|
|
|
|
|
import exception.BizException;
|
|
|
|
|
import org.apache.commons.lang.ObjectUtils;
|
|
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
|
@ -254,6 +251,9 @@ public class UserInfoService {
|
|
|
|
|
userInfo.setAvatar(Constants.DEFAULT_USER_AVATAR);
|
|
|
|
|
userInfo.setThumbnail(Constants.DEFAULT_USER_THUMBNAIL);
|
|
|
|
|
userInfo.setSignature(Constants.DEFAULT_USER_SIGNATURE);
|
|
|
|
|
userInfo.setIsAuthor(0);
|
|
|
|
|
userInfo.setPoint(0);
|
|
|
|
|
userInfo.setVipStatus(UserVipStatusEnum.INITIAL.getCode());
|
|
|
|
|
|
|
|
|
|
isNewUser = true;
|
|
|
|
|
} else {
|
|
|
|
@ -324,6 +324,9 @@ public class UserInfoService {
|
|
|
|
|
userInfo.setAvatar(Constants.DEFAULT_USER_AVATAR);
|
|
|
|
|
userInfo.setThumbnail(Constants.DEFAULT_USER_THUMBNAIL);
|
|
|
|
|
userInfo.setSignature(Constants.DEFAULT_USER_SIGNATURE);
|
|
|
|
|
userInfo.setIsAuthor(0);
|
|
|
|
|
userInfo.setPoint(0);
|
|
|
|
|
userInfo.setVipStatus(UserVipStatusEnum.INITIAL.getCode());
|
|
|
|
|
|
|
|
|
|
isNewUser = true;
|
|
|
|
|
} else {
|
|
|
|
@ -363,6 +366,9 @@ public class UserInfoService {
|
|
|
|
|
userInfo.setAvatar(Constants.DEFAULT_USER_AVATAR);
|
|
|
|
|
userInfo.setThumbnail(Constants.DEFAULT_USER_THUMBNAIL);
|
|
|
|
|
userInfo.setSignature(Constants.DEFAULT_USER_SIGNATURE);
|
|
|
|
|
userInfo.setIsAuthor(0);
|
|
|
|
|
userInfo.setPoint(0);
|
|
|
|
|
userInfo.setVipStatus(UserVipStatusEnum.INITIAL.getCode());
|
|
|
|
|
|
|
|
|
|
isNewUser = true;
|
|
|
|
|
} else {
|
|
|
|
@ -444,6 +450,9 @@ public class UserInfoService {
|
|
|
|
|
userInfo.setAvatar(Constants.DEFAULT_USER_AVATAR);
|
|
|
|
|
userInfo.setThumbnail(Constants.DEFAULT_USER_THUMBNAIL);
|
|
|
|
|
userInfo.setSignature(Constants.DEFAULT_USER_SIGNATURE);
|
|
|
|
|
userInfo.setIsAuthor(0);
|
|
|
|
|
userInfo.setPoint(0);
|
|
|
|
|
userInfo.setVipStatus(UserVipStatusEnum.INITIAL.getCode());
|
|
|
|
|
|
|
|
|
|
isNewUser = true;
|
|
|
|
|
} else {
|
|
|
|
|