@@ -8,6 +8,10 @@ import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableAsync;
+/**
+ * 技术讲解学习社区:https://www.coderutil.com/star/28
+ * 加社区学习线下交流群:https://www.coderutil.com/star/qa/1858
+ */
@ServletComponentScan
@SpringBootApplication
@EnableJpaRepositories(basePackages = "com.webchat.repository")
@@ -108,10 +108,6 @@ public class GroupVideoChatWebSocket {
redisMessageSender.sendMessage(RedisMessageChannelTopicEnum.GROUP_VIDEO_OFFER_SEND.getChannel(), message);
return;
}
- if (chatMessage.getType().equals("offer")) {
- this.submit(message);
- return;
- }
this.submit(message);
@@ -62,7 +62,6 @@ public class ArticleService {
* @param saveArticleRequest
* @return
*/
- @Transactional
public Long save(SaveArticleRequestVO saveArticleRequest) {
ArticleEntity articleEntity = this.convert(saveArticleRequest);
@@ -39,7 +39,7 @@ spring:
elasticsearch:
message-index: chat_mess_dev
rest:
- uris: #ES配置
+ uris: #ES配置 (如果本地还没有搭建ES服务,可以先试用coderutil的公开es服务替换测试 http://8.140.184.12:9200)
# 大模型配置,应用于对话机器人
llm:
@@ -226,8 +226,6 @@
video.autoplay = true;
video.muted = true;
video.controls = false;
- // 将本地流绑定到本地视频元素
- video.srcObject = localStream;
span.innerText = onlineUserMap.get(uid).userName;
span.className = "other";
videoContainer.id = "video-" + uid;