From b242857798a1a03520cf5751bd947fe124d33d53 Mon Sep 17 00:00:00 2001 From: xsx <825657193@qq.com> Date: Sat, 3 Aug 2024 16:08:06 +0800 Subject: [PATCH] =?UTF-8?q?wss=E4=BD=BF=E7=94=A8443=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/{box-im.sql => im-platform.sql} | 1 - im-platform/src/main/resources/application-dev.yml | 2 +- im-platform/src/main/resources/application-prod.yml | 2 +- im-platform/src/main/resources/application-test.yml | 2 +- im-uniapp/.env.js | 2 +- im-web/.env.production | 2 +- 6 files changed, 5 insertions(+), 6 deletions(-) rename db/{box-im.sql => im-platform.sql} (98%) diff --git a/db/box-im.sql b/db/im-platform.sql similarity index 98% rename from db/box-im.sql rename to db/im-platform.sql index d7662f6..d90976f 100644 --- a/db/box-im.sql +++ b/db/im-platform.sql @@ -1,4 +1,3 @@ -use `box_im`; create table `im_user`( `id` bigint not null auto_increment primary key comment 'id', `user_name` varchar(255) not null comment '用户名', diff --git a/im-platform/src/main/resources/application-dev.yml b/im-platform/src/main/resources/application-dev.yml index eadabfa..51defb0 100644 --- a/im-platform/src/main/resources/application-dev.yml +++ b/im-platform/src/main/resources/application-dev.yml @@ -1,7 +1,7 @@ spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://localhost:3306/box_im?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true + url: jdbc:mysql://localhost:3306/im_platform?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true username: root password: root data: diff --git a/im-platform/src/main/resources/application-prod.yml b/im-platform/src/main/resources/application-prod.yml index 2f69af9..6db07fc 100644 --- a/im-platform/src/main/resources/application-prod.yml +++ b/im-platform/src/main/resources/application-prod.yml @@ -1,7 +1,7 @@ spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://localhost:3306/box_im?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true + url: jdbc:mysql://localhost:3306/im_platform?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true username: root password: root data: diff --git a/im-platform/src/main/resources/application-test.yml b/im-platform/src/main/resources/application-test.yml index 96cc97f..f7d197e 100644 --- a/im-platform/src/main/resources/application-test.yml +++ b/im-platform/src/main/resources/application-test.yml @@ -1,7 +1,7 @@ spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://localhost:3306/box_im?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true + url: jdbc:mysql://localhost:3306/im_platform?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true username: root password: root data: diff --git a/im-uniapp/.env.js b/im-uniapp/.env.js index 493d3b4..b6b9ff4 100644 --- a/im-uniapp/.env.js +++ b/im-uniapp/.env.js @@ -11,6 +11,6 @@ if(ENV=="DEV"){ } if(ENV=="PROD"){ UNI_APP.BASE_URL = "https://www.boxim.online/api"; - UNI_APP.WS_URL = "wss://www.boxim.online:81/im"; + UNI_APP.WS_URL = "wss://www.boxim.online/im"; } export default UNI_APP \ No newline at end of file diff --git a/im-web/.env.production b/im-web/.env.production index 5b75d44..ffdb954 100644 --- a/im-web/.env.production +++ b/im-web/.env.production @@ -5,4 +5,4 @@ VUE_APP_NAME = "盒子IM" # 接口地址 VUE_APP_BASE_API = 'https://www.boxim.online/api' # ws地址 -VUE_APP_WS_URL = 'wss://www.boxim.online:81/im' \ No newline at end of file +VUE_APP_WS_URL = 'wss://www.boxim.online/im' \ No newline at end of file