0
0

配置文件提交2

This commit is contained in:
2025-09-05 10:52:53 +08:00
parent a8c9c631ad
commit 7773cae0ea
9 changed files with 82 additions and 69 deletions

View File

@ -16,4 +16,5 @@ public class MqttPropertiesConfig {
private String subTopic;
private String pubClientId;
private String pubTopic;
private String enabled;
}

View File

@ -79,7 +79,8 @@ public class AppRegisterService {
boolean exist = TenantHelper.dynamic(tenantId, () -> {
return appUserMapper.exists(new LambdaQueryWrapper<AppUser>()
.eq(AppUser::getUserName, appUser.getUserName()));
.eq(AppUser::getUserName, appUser.getUserName())
.eq(AppUser::getUserType, UserType.APP_USER.getUserType()));
});
if (exist) {
throw new UserException("user.register.save.error", username);