mirror of
https://gitee.com/270580156/weiyu.git
synced 2025-12-30 10:52:26 +00:00
update modules/core: mod 2 files
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user