mirror of
https://gitee.com/270580156/weiyu.git
synced 2026-05-21 18:37:46 +00:00
update modules/service: mod 2 files
This commit is contained in:
@@ -123,8 +123,6 @@ public class AgentEventListener {
|
||||
Optional<AgentEntity> agentOptional = agentRestService.findByUid(agentProtobuf.getUid());
|
||||
if (agentOptional.isPresent()) {
|
||||
AgentEntity agent = agentOptional.get();
|
||||
// agent.increaseThreadCount();
|
||||
// agentService.save(agent);
|
||||
// 发送欢迎语
|
||||
String content = agent.getServiceSettings().getWelcomeTip();
|
||||
MessageProtobuf messageProtobuf = ThreadMessageUtil.getThreadWelcomeMessage(content, thread);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* @Author: jackning 270580156@qq.com
|
||||
* @Date: 2024-10-18 07:51:39
|
||||
* @LastEditors: jackning 270580156@qq.com
|
||||
* @LastEditTime: 2025-07-04 10:29:32
|
||||
* @LastEditTime: 2025-07-08 13:27:28
|
||||
* @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.
|
||||
@@ -48,6 +48,7 @@ public class QueueMemberEventListener {
|
||||
QueueMemberEntity member = memberOptional.get();
|
||||
member.manualAcceptThread();
|
||||
queueMemberRestService.save(member);
|
||||
//
|
||||
// TODO: 找出队列中所有等待中的访客,发送更新排队数量消息,通知访客前端
|
||||
// MessageProtobuf messageProtobuf = ThreadMessageUtil.getThreadQueueMessage(thread.getAgent(), thread);
|
||||
// messageSendService.sendProtobufMessage(messageProtobuf);
|
||||
|
||||
Reference in New Issue
Block a user