From 8981e0db6638c38434d899de7c868b0e72a19f70 Mon Sep 17 00:00:00 2001
From: La123123 <617330105@qq.com>
Date: Thu, 2 Apr 2026 10:15:53 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BE=9D=E8=B5=96=E5=8F=98=E6=9B=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
im-platform/pom.xml | 5 ---
.../src/main/resources/application-dev.yml | 34 +++++++++++++++++++
.../src/main/resources/application-prod.yml | 6 ++--
.../src/main/resources/application.yml | 5 ---
im-server/pom.xml | 32 ++++++++---------
5 files changed, 53 insertions(+), 29 deletions(-)
diff --git a/im-platform/pom.xml b/im-platform/pom.xml
index ea05e9b..65ef8ab 100644
--- a/im-platform/pom.xml
+++ b/im-platform/pom.xml
@@ -91,11 +91,6 @@
knife4j-openapi3-jakarta-spring-boot-starter
${knife4j.version}
-
- com.bx
- im-server
- 3.0.0
-
${project.artifactId}
diff --git a/im-platform/src/main/resources/application-dev.yml b/im-platform/src/main/resources/application-dev.yml
index 24a3534..4383cd9 100644
--- a/im-platform/src/main/resources/application-dev.yml
+++ b/im-platform/src/main/resources/application-dev.yml
@@ -26,3 +26,37 @@ webrtc:
- urls: stun:stun.l.google.com:19302
+
+#spring:
+# datasource:
+# driver-class-name: com.mysql.cj.jdbc.Driver
+# url: jdbc:mysql://localhost:3306/im_platform?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true
+# username: im_platform
+# password: ZaHi6rbwd6YjSNSk
+# data:
+# redis:
+# host: localhost
+# port: 6379
+# password: PmEpfRjpBnTN6CgW
+#
+#minio:
+# endpoint: http://127.0.0.1:9001 #内网地址
+# domain: http://8.166.112.125:3478:9001 #外网访问地址
+# accessKey: admin
+# secretKey: 3fBSt6AkgFuD77D6
+# bucketName: box-im
+# imagePath: image
+# filePath: file
+# videoPath: video
+# expireIn: 180 # 文件过期时间,单位:天
+#
+#webrtc:
+# max-channel: 9 # 多人通话最大通道数量,最大不能超过16,建议值:4,9,16
+# iceServers: #coturn配置
+# - urls: stun:www.boxim.online:3478
+# username: admin
+# credential: UrHHKNvE7nFvBTMV
+# - urls: turn:www.boxim.online:3478
+# username: admin
+# credential: UrHHKNvE7nFvBTMV
+
diff --git a/im-platform/src/main/resources/application-prod.yml b/im-platform/src/main/resources/application-prod.yml
index 4b2047d..4dd0cf2 100644
--- a/im-platform/src/main/resources/application-prod.yml
+++ b/im-platform/src/main/resources/application-prod.yml
@@ -2,8 +2,8 @@ spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/im_platform?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true
- username: root
- password: naQRLdDPbGv2j7PX_
+ username: im_platform
+ password: ZaHi6rbwd6YjSNSk
data:
redis:
host: localhost
@@ -12,7 +12,7 @@ spring:
minio:
endpoint: http://127.0.0.1:9001 #内网地址
- domain: https://www.boxim.online/file #外网访问地址
+ domain: http://8.166.112.125:3478:9001 #外网访问地址
accessKey: admin
secretKey: 3fBSt6AkgFuD77D6
bucketName: box-im
diff --git a/im-platform/src/main/resources/application.yml b/im-platform/src/main/resources/application.yml
index 7bfd850..232ebe6 100644
--- a/im-platform/src/main/resources/application.yml
+++ b/im-platform/src/main/resources/application.yml
@@ -30,8 +30,3 @@ jwt:
secret: IKDiqVmn0VFU
-websocket:
- enable: true
- port: 8878
-
-
diff --git a/im-server/pom.xml b/im-server/pom.xml
index 9778db7..f53f68a 100644
--- a/im-server/pom.xml
+++ b/im-server/pom.xml
@@ -24,20 +24,20 @@
4.1.42.Final
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ ${project.artifactId}
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
+ repackage
+
+
+
+
+
+
\ No newline at end of file