|
@@ -33,6 +33,7 @@ public class UserServiceImpl implements UserService, UserDetailsService {
|
|
|
@Override
|
|
@Override
|
|
|
public UserVO createGitlabUser(GitlabUserCreateVO vo) throws ServiceException {
|
|
public UserVO createGitlabUser(GitlabUserCreateVO vo) throws ServiceException {
|
|
|
try {
|
|
try {
|
|
|
|
|
+ //todo 增加user id
|
|
|
seecoderGitlabApi.createGitlabUser(vo.getUsername(),vo.getPassword(),vo.getEmail());
|
|
seecoderGitlabApi.createGitlabUser(vo.getUsername(),vo.getPassword(),vo.getEmail());
|
|
|
} catch (SeecoderGitlabException e) {
|
|
} catch (SeecoderGitlabException e) {
|
|
|
throw new ServiceException("创建gitlab用户失败",e);
|
|
throw new ServiceException("创建gitlab用户失败",e);
|