update modules/core: mod 2 files

This commit is contained in:
jack ning
2025-08-03 17:43:17 +08:00
parent e8b2c7a680
commit 7be6fa3597
2 changed files with 10 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-01-30 09:14:39
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-08-03 17:12:57
* @LastEditTime: 2025-08-03 17:17:11
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
* Please be aware of the BSL license restrictions before installing Bytedesk IM
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
@@ -225,6 +225,10 @@ public class BytedeskProperties {
private String docUrl;
// default lang: en-US, zh-CN, zh-TW
private String lang = "zh-CN";
//
private Boolean allowRegister = false;
private Boolean forceValidateMobile = false;
private Boolean forceValidateEmail = false;
}
@Getter

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-03-01 17:20:46
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-08-03 17:01:42
* @LastEditTime: 2025-08-03 17:17:29
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
* Please be aware of the BSL license restrictions before installing Bytedesk IM
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
@@ -298,6 +298,10 @@ public class ConvertUtils {
response.getCustom().setDescription(bytedeskProperties.getCustom().getDescription());
response.getCustom().setPrivacyPolicyUrl(bytedeskProperties.getCustom().getPrivacyPolicyUrl());
response.getCustom().setTermsOfServiceUrl(bytedeskProperties.getCustom().getTermsOfServiceUrl());
//
response.getCustom().setAllowRegister(bytedeskProperties.getCustom().getAllowRegister());
response.getCustom().setForceValidateMobile(bytedeskProperties.getCustom().getForceValidateMobile());
response.getCustom().setForceValidateEmail(bytedeskProperties.getCustom().getForceValidateEmail());
}
return response;