【代码优化】MALL:在线客服的注释
This commit is contained in:
parent
1e4e02ec2f
commit
be416b7d78
|
@ -13,7 +13,6 @@ import org.flowable.engine.runtime.ProcessInstance;
|
|||
import org.flowable.task.service.delegate.DelegateTask;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.web.client.RestTemplate;
|
||||
|
||||
import static cn.iocoder.yudao.module.bpm.framework.flowable.core.util.BpmnModelUtils.parseListenerConfig;
|
||||
|
||||
|
|
|
@ -120,10 +120,10 @@ public class KeFuMessageServiceImpl implements KeFuMessageService {
|
|||
KeFuMessageDO keFuMessage = getFirst(filterList(messageList, message -> UserTypeEnum.MEMBER.getValue().equals(message.getSenderType())));
|
||||
assert keFuMessage != null; // 断言避免警告
|
||||
getSelf().sendAsyncMessageToMember(keFuMessage.getSenderId(), KEFU_MESSAGE_ADMIN_READ,
|
||||
new KeFuMessageRespVO().setConversationId(keFuMessage.getConversationId())); // 统一返回 json 格式
|
||||
new KeFuMessageRespVO().setConversationId(keFuMessage.getConversationId()));
|
||||
// 2.4 通知所有管理员消息已读
|
||||
getSelf().sendAsyncMessageToAdmin(KEFU_MESSAGE_ADMIN_READ,
|
||||
new KeFuMessageRespVO().setConversationId(keFuMessage.getConversationId())); // 统一返回 json 格式
|
||||
new KeFuMessageRespVO().setConversationId(keFuMessage.getConversationId()));
|
||||
}
|
||||
|
||||
private void validateReceiverExist(Long receiverId, Integer receiverType) {
|
||||
|
|
Loading…
Reference in New Issue