Quellcode durchsuchen

Merge branch 'develop' of gitadmin/tuoheng_oidc into release

tags/v2.4.1
xuziqing vor 1 Jahr
Ursprung
Commit
01aff90db7
2 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. +2
    -2
      tuoheng_oidc_admin/src/main/java/com/tuoheng/controller/TenantController.java
  2. +2
    -2
      tuoheng_oidc_admin/src/main/java/com/tuoheng/service/impl/TenantServiceImpl.java

+ 2
- 2
tuoheng_oidc_admin/src/main/java/com/tuoheng/controller/TenantController.java Datei anzeigen

@@ -58,8 +58,8 @@ public class TenantController {
*
* @return
*/
@GetMapping("/findUserLis")
public JsonResult findUserLis(UserQuery query) {
@GetMapping("/findUserList")
public JsonResult findUserList(UserQuery query) {
return tenantService.findUserList(query);
}


+ 2
- 2
tuoheng_oidc_admin/src/main/java/com/tuoheng/service/impl/TenantServiceImpl.java Datei anzeigen

@@ -89,7 +89,7 @@ public class TenantServiceImpl implements TenantService {
@Transactional(rollbackFor = Exception.class)
public JsonResult createClientTenant(CreateClientTenantDto createClientTenantDto, LoginUser loginUser) {
if (clientUserMapper.judgeCreateByUserName(createClientTenantDto.getUsername()) > 0) {
return JsonResult.error("该用户名称已存在!");
return JsonResult.error("该用户账号已存在!");
}
createClientTenantDto.setPassword(passward);
//创建租户创建成功后的返回实体类
@@ -555,7 +555,7 @@ public class TenantServiceImpl implements TenantService {
dto.setPassword(passward);
TenantPo tenant = tenantMapper.selectById(dto.getId());
if (ObjectUtil.isNull(tenant)) {
throw new ServiceException(ServiceExceptionEnum.GET_NO_DATA);
return JsonResult.error(ServiceExceptionEnum.GET_NO_DATA.getMessage());
}
//租户对应的业务平台相关信息
//删除这个租户原本存在的所有业务平台下的信息

Laden…
Abbrechen
Speichern