Co-authored-by: ouyangyewei <yewei.oyyw@alibaba-inc.com>
@ -110,6 +110,7 @@ public class AccessTokenServiceImpl extends BaseServiceImpl implements AccessTok
int insert = accessTokenMapper.insert(accessToken);
if (insert > 0) {
result.put(Constants.DATA_LIST, accessToken);
putMsg(result, Status.SUCCESS);
} else {
putMsg(result, Status.CREATE_ACCESS_TOKEN_ERROR);
@ -110,7 +110,7 @@ public class ProjectServiceImpl extends BaseServiceImpl implements ProjectServic
}
if (projectMapper.insert(project) > 0) {
result.put(Constants.DATA_LIST, project.getId());
result.put(Constants.DATA_LIST, project);
putMsg(result, Status.CREATE_PROJECT_ERROR);
@ -151,6 +151,7 @@ public class QueueServiceImpl extends BaseServiceImpl implements QueueService {
queueObj.setUpdateTime(now);
queueMapper.insert(queueObj);
result.put(Constants.DATA_LIST, queueObj);
return result;
@ -113,6 +113,7 @@ public class TenantServiceImpl extends BaseServiceImpl implements TenantService
createTenantDirIfNotExists(tenantCode);
result.put(Constants.DATA_LIST, tenant);
@ -174,6 +174,7 @@ public class UsersServiceImpl extends BaseServiceImpl implements UsersService {
HadoopUtils.getInstance().mkdir(userPath);
result.put(Constants.DATA_LIST, user);