From 38adfffec2a34ed870b05df7ca0cf2900e80e794 Mon Sep 17 00:00:00 2001 From: hansha Date: Fri, 28 Jun 2024 16:06:41 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dangan-admin/src/main/resources/application-hs.yml | 3 +++ dangan-admin/src/main/resources/application-prod.yml | 2 +- dangan-ui/src/views/dangan/collection/index.vue | 1 + dangan-ui/src/views/dangan/pictureRecard/index.vue | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/dangan-admin/src/main/resources/application-hs.yml b/dangan-admin/src/main/resources/application-hs.yml index ef6e955..c9836a7 100644 --- a/dangan-admin/src/main/resources/application-hs.yml +++ b/dangan-admin/src/main/resources/application-hs.yml @@ -7,8 +7,11 @@ spring: # 主库数据源 master: url: jdbc:mysql://localhost:3307/dangan?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + #url: jdbc:mysql://localhost:3306/dangan?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: root + #username: dangan password: hs123456 + #password: dangan # 从库数据源 slave: # 从数据源开关/默认关闭 diff --git a/dangan-admin/src/main/resources/application-prod.yml b/dangan-admin/src/main/resources/application-prod.yml index 9c94644..5068924 100644 --- a/dangan-admin/src/main/resources/application-prod.yml +++ b/dangan-admin/src/main/resources/application-prod.yml @@ -8,7 +8,7 @@ spring: master: url: jdbc:mysql://localhost:3306/dangan?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: root - password: dangan + password: Huawei12#$ # 从库数据源 slave: # 从数据源开关/默认关闭 diff --git a/dangan-ui/src/views/dangan/collection/index.vue b/dangan-ui/src/views/dangan/collection/index.vue index 5abd7cb..de312b8 100644 --- a/dangan-ui/src/views/dangan/collection/index.vue +++ b/dangan-ui/src/views/dangan/collection/index.vue @@ -665,6 +665,7 @@ export default { /** 查询识别进度 */ getProgress() { // 向给定ID的用户发起请求 + //axios.post('http://20.206.150.166:22443/get_file_count',`username=${this.$store.state.user.name}`, { axios.post('http://123.57.142.195:443/get_file_count',`username=${this.$store.state.user.name}`, { headers: { 'Content-Type': 'application/x-www-form-urlencoded' diff --git a/dangan-ui/src/views/dangan/pictureRecard/index.vue b/dangan-ui/src/views/dangan/pictureRecard/index.vue index 00ee006..7442ee5 100644 --- a/dangan-ui/src/views/dangan/pictureRecard/index.vue +++ b/dangan-ui/src/views/dangan/pictureRecard/index.vue @@ -336,6 +336,7 @@ export default { /** 查询识别进度 */ getProgress() { // 向给定ID的用户发起请求 + //axios.post('http://20.206.150.166:22443/get_file_count',`username=${this.$store.state.user.name}`, { axios.post('http://123.57.142.195:443/get_file_count',`username=${this.$store.state.user.name}`, { headers: { 'Content-Type': 'application/x-www-form-urlencoded'