|
|
@ -864,6 +864,14 @@ public class UserInfoService {
|
|
|
|
return userInfoDao.findAllByIsAuthor(1);
|
|
|
|
return userInfoDao.findAllByIsAuthor(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public List<UserInfo> getUserInfo(String nickName) {
|
|
|
|
|
|
|
|
if (StringUtils.isBlank(nickName)) {
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
return userInfoDao.getUserInfosByNickNameLike(nickName);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
|
public String createInvitationCode(String token) {
|
|
|
|
public String createInvitationCode(String token) {
|
|
|
|
UserLoginDto user = jwtUtil.getUserLoginDto(token);
|
|
|
|
UserLoginDto user = jwtUtil.getUserLoginDto(token);
|
|
|
|