This commit is contained in:
jack ning
2025-07-04 10:52:40 +08:00
parent 0fb97cd1a2
commit 2f39c2b292
21 changed files with 16 additions and 46 deletions

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-01-23 07:53:01
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-07-04 10:27:02
* @LastEditTime: 2025-07-04 10:47:14
* @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.
@@ -14,8 +14,6 @@
*/
package com.bytedesk.core.rbac.auth;
import java.time.ZonedDateTime;
import org.modelmapper.ModelMapper;
import org.springframework.lang.NonNull;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;

View File

@@ -1,6 +1,5 @@
package com.bytedesk.core.rbac.user;
import java.time.ZonedDateTime;
import java.util.HashSet;
import java.util.Optional;
import java.util.Set;

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-03-22 22:59:18
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-07-04 10:25:51
* @LastEditTime: 2025-07-04 10:47:30
* @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.
@@ -13,7 +13,6 @@
*/
package com.bytedesk.kbase.faq;
import java.time.ZonedDateTime;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2025-02-25 09:44:18
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-07-04 10:27:59
* @LastEditTime: 2025-07-04 10:47:47
* @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.
@@ -13,7 +13,6 @@
*/
package com.bytedesk.kbase.llm_chunk;
import java.time.ZonedDateTime;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2025-02-22 18:40:40
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-07-04 10:28:09
* @LastEditTime: 2025-07-04 10:47:53
* @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.
@@ -13,7 +13,6 @@
*/
package com.bytedesk.kbase.llm_chunk;
import java.time.ZonedDateTime;
import java.util.List;
import java.util.Optional;

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2025-05-13 15:16:03
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-07-03 22:01:51
* @LastEditTime: 2025-07-04 10:47:40
* @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.
@@ -13,8 +13,6 @@
*/
package com.bytedesk.kbase.llm_chunk.elastic;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
@@ -32,7 +30,6 @@ import com.bytedesk.kbase.llm_chunk.ChunkRequest;
import com.bytedesk.kbase.llm_chunk.ChunkRestService;
import co.elastic.clients.elasticsearch._types.query_dsl.BoolQuery;
import co.elastic.clients.elasticsearch._types.query_dsl.DateRangeQuery;
import co.elastic.clients.elasticsearch._types.query_dsl.MultiMatchQuery;
import co.elastic.clients.elasticsearch._types.query_dsl.QueryBuilders;
import lombok.extern.slf4j.Slf4j;

View File

@@ -13,7 +13,6 @@
*/
package com.bytedesk.kbase.llm_text;
import java.time.ZonedDateTime;
import java.util.List;
import java.util.Optional;

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2025-05-13 17:56:14
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-07-03 22:02:05
* @LastEditTime: 2025-07-04 10:48:01
* @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.
@@ -13,8 +13,6 @@
*/
package com.bytedesk.kbase.llm_text.elastic;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
@@ -33,7 +31,6 @@ import com.bytedesk.kbase.llm_text.TextRequest;
import com.bytedesk.kbase.llm_text.TextRestService;
import co.elastic.clients.elasticsearch._types.query_dsl.BoolQuery;
import co.elastic.clients.elasticsearch._types.query_dsl.DateRangeQuery;
import co.elastic.clients.elasticsearch._types.query_dsl.MultiMatchQuery;
import co.elastic.clients.elasticsearch._types.query_dsl.QueryBuilders;
import lombok.extern.slf4j.Slf4j;

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2025-05-31 09:25:23
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-07-03 22:04:14
* @LastEditTime: 2025-07-04 10:48:17
* @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.
@@ -13,8 +13,6 @@
*/
package com.bytedesk.kbase.llm_webpage.elastic;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
@@ -33,7 +31,6 @@ import com.bytedesk.kbase.llm_webpage.WebpageRequest;
import com.bytedesk.kbase.llm_webpage.WebpageRestService;
import co.elastic.clients.elasticsearch._types.query_dsl.BoolQuery;
import co.elastic.clients.elasticsearch._types.query_dsl.DateRangeQuery;
import co.elastic.clients.elasticsearch._types.query_dsl.MultiMatchQuery;
import co.elastic.clients.elasticsearch._types.query_dsl.QueryBuilders;
import lombok.RequiredArgsConstructor;

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2025-05-17 11:00:00
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-05-17 09:12:31
* @LastEditTime: 2025-07-04 10:50:06
* @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.
@@ -13,7 +13,6 @@
*/
package com.bytedesk.kbase.faq;
import java.time.ZonedDateTime;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-03-22 23:04:43
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-07-04 10:29:15
* @LastEditTime: 2025-07-04 10:48:30
* @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.
@@ -13,7 +13,6 @@
*/
package com.bytedesk.service.message_leave;
import java.time.ZonedDateTime;
import java.util.Optional;
import org.modelmapper.ModelMapper;

View File

@@ -1,7 +1,6 @@
package com.bytedesk.service.queue;
import java.time.LocalDate;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Optional;

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-07-15 15:58:11
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-07-04 10:29:43
* @LastEditTime: 2025-07-04 10:48:41
* @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.
@@ -13,7 +13,6 @@
*/
package com.bytedesk.service.routing_strategy;
import java.time.ZonedDateTime;
import java.util.Optional;
import org.springframework.stereotype.Component;

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-08-29 22:22:38
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-07-03 14:14:30
* @LastEditTime: 2025-07-04 10:49:00
* @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.
@@ -30,8 +30,6 @@ import com.bytedesk.kbase.settings.ServiceSettings;
import com.bytedesk.kbase.settings.ServiceTrigger;
import com.bytedesk.service.agent.AgentEntity;
import java.time.ZonedDateTime;
// 可以根据需要选择是否使用 @Component 注解
// 如果该方法不需要被Spring容器管理则不需要此注解
public class ThreadMessageUtil {

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-09-07 13:16:52
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-07-04 10:30:08
* @LastEditTime: 2025-07-04 10:49:08
* @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.
@@ -14,7 +14,6 @@
package com.bytedesk.service.visitor;
import java.time.Duration;
import java.time.ZonedDateTime;
import java.util.List;
import java.util.Optional;

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-06-29 13:00:33
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-07-03 14:46:53
* @LastEditTime: 2025-07-04 10:49:04
* @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.
@@ -13,7 +13,6 @@
*/
package com.bytedesk.service.visitor_thread;
import java.time.ZonedDateTime;
import java.util.List;
import java.util.Optional;
import java.util.concurrent.TimeUnit;

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2024-06-29 13:08:52
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-07-03 14:49:56
* @LastEditTime: 2025-07-04 10:49:14
* @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.
@@ -13,7 +13,6 @@
*/
package com.bytedesk.service.visitor_thread;
import java.time.ZonedDateTime;
import java.util.List;
import java.util.Optional;
import java.util.concurrent.TimeUnit;

View File

@@ -13,7 +13,6 @@
*/
package com.bytedesk.ticket.thread.delegate;
import java.time.ZonedDateTime;
import java.util.Optional;
import java.util.Date;

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2025-03-25 10:30:00
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-07-04 10:30:26
* @LastEditTime: 2025-07-04 10:49:26
* @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.
@@ -13,7 +13,6 @@
*/
package com.bytedesk.ticket.thread.delegate;
import java.time.ZonedDateTime;
import java.util.Optional;
import java.util.Date;

View File

@@ -2,7 +2,7 @@
* @Author: jackning 270580156@qq.com
* @Date: 2025-01-29 12:24:32
* @LastEditors: jackning 270580156@qq.com
* @LastEditTime: 2025-07-04 10:30:55
* @LastEditTime: 2025-07-04 10:49:33
* @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.
@@ -50,7 +50,6 @@ import java.util.Optional;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import java.time.ZonedDateTime;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.stream.Collectors;

View File

@@ -1,7 +1,5 @@
package com.bytedesk.freeswitch.config;
import java.time.ZonedDateTime;
import org.freeswitch.esl.client.IEslEventListener;
import org.freeswitch.esl.client.transport.event.EslEvent;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;