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'