From 6b226a0b194d0f971bfec8807e04c6cb2c308d2b Mon Sep 17 00:00:00 2001 From: wenchaogong Date: Sun, 15 Aug 2021 22:41:48 +0800 Subject: [PATCH 01/60] =?UTF-8?q?jar=20=E5=8C=85=E5=86=B2=E7=AA=81?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 35 +++++++++++++++++++ .../src/main/resources/application-dev.yml | 4 +-- ruoyi-oss/pom.xml | 4 +++ 3 files changed, 41 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 7c31108c6..8a5fd1195 100644 --- a/pom.xml +++ b/pom.xml @@ -21,6 +21,7 @@ 3.1.1 1.2.6 3.0.3 + 1.5.22 4.1.2 1.7 0.9.1 @@ -28,10 +29,12 @@ 5.7.6 3.0.3 11.0 + 1.17.2 2.4.3 3.16.1 2.2.1 3.4.1 + 1.5.2.Final 7.8.0 @@ -70,6 +73,19 @@ com.github.xiaoymin knife4j-spring-boot-starter ${knife4j.version} + + + com.google.guava + guava + + + + + + + io.swagger + swagger-annotations + ${swagger-annotations.version} @@ -127,6 +143,17 @@ io.github.openfeign feign-okhttp ${feign-okhttp.version} + + + io.github.openfeign + feign-core + + + + + com.squareup.okio + okio + ${okio.version} @@ -151,6 +178,14 @@ lock4j-redisson-spring-boot-starter ${lock4j.version} + + + + org.wildfly.common + wildfly-common + ${wildfly-common.version} + + com.ruoyi diff --git a/ruoyi-admin/src/main/resources/application-dev.yml b/ruoyi-admin/src/main/resources/application-dev.yml index 6491c8557..fc490d61c 100644 --- a/ruoyi-admin/src/main/resources/application-dev.yml +++ b/ruoyi-admin/src/main/resources/application-dev.yml @@ -10,7 +10,7 @@ spring: # 主库数据源 master: driverClassName: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true + url: jdbc:mysql://192.168.64.128:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true username: root password: root # 从库数据源 @@ -72,7 +72,7 @@ spring: spring: redis: # 地址 - host: localhost + host: 192.168.64.128 # 端口,默认为6379 port: 6379 # 数据库索引 diff --git a/ruoyi-oss/pom.xml b/ruoyi-oss/pom.xml index 6fd1bd7d0..ce0c7b200 100644 --- a/ruoyi-oss/pom.xml +++ b/ruoyi-oss/pom.xml @@ -46,6 +46,10 @@ org.slf4j slf4j-log4j12 + + org.bouncycastle + bcprov-jdk15on + From 04a1571dc80cc858165e3c0846a4073ad5578d84 Mon Sep 17 00:00:00 2001 From: wenchaogong Date: Mon, 16 Aug 2021 00:02:43 +0800 Subject: [PATCH 02/60] =?UTF-8?q?1=E3=80=81jar=20=E5=8C=85=E5=86=B2?= =?UTF-8?q?=E7=AA=81=E5=A4=84=E7=90=86=202=E3=80=81=E6=9A=82=E6=97=B6?= =?UTF-8?q?=E5=8E=BB=E6=8E=89=20oss?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 25 ++++++++++++++++------ ruoyi-admin/pom.xml | 3 ++- ruoyi-admin/src/main/resources/logback.xml | 18 ++++++++-------- ruoyi-common/pom.xml | 4 ++++ 4 files changed, 34 insertions(+), 16 deletions(-) diff --git a/pom.xml b/pom.xml index 8a5fd1195..06ddcd5b1 100644 --- a/pom.xml +++ b/pom.xml @@ -27,6 +27,7 @@ 0.9.1 3.4.3 5.7.6 + 29.0-jre 3.0.3 11.0 1.17.2 @@ -73,12 +74,6 @@ com.github.xiaoymin knife4j-spring-boot-starter ${knife4j.version} - - - com.google.guava - guava - - @@ -133,6 +128,12 @@ ${hutool.version} + + com.google.guava + guava + ${guava.version} + + org.springframework.cloud spring-cloud-starter-openfeign @@ -167,6 +168,18 @@ ${spring-boot-admin.version} + + + org.springframework.boot + spring-boot-starter-data-redis + + + io.lettuce + lettuce-core + + + ${spring-boot.version} + org.redisson diff --git a/ruoyi-admin/pom.xml b/ruoyi-admin/pom.xml index ba0ad3252..7891a8532 100644 --- a/ruoyi-admin/pom.xml +++ b/ruoyi-admin/pom.xml @@ -42,10 +42,11 @@ ruoyi-quartz + diff --git a/ruoyi-admin/src/main/resources/logback.xml b/ruoyi-admin/src/main/resources/logback.xml index c939785e6..663eef0c5 100644 --- a/ruoyi-admin/src/main/resources/logback.xml +++ b/ruoyi-admin/src/main/resources/logback.xml @@ -2,8 +2,8 @@ - + value="%red(%d{yyyy-MM-dd HH:mm:ss}) %highlight(%-5level) %green([%thread]) %boldMagenta(%logger{36}) - %msg%n"/> + @@ -31,7 +31,7 @@ INFO - + ${log.path}/sys-info.log @@ -54,7 +54,7 @@ DENY - + ${log.path}/sys-error.log @@ -76,7 +76,7 @@ DENY - + ${log.path}/sys-user.log @@ -90,7 +90,7 @@ ${log.pattern} - + @@ -99,16 +99,16 @@ - + - + - \ No newline at end of file + diff --git a/ruoyi-common/pom.xml b/ruoyi-common/pom.xml index 016c4576d..11f4e290d 100644 --- a/ruoyi-common/pom.xml +++ b/ruoyi-common/pom.xml @@ -46,6 +46,10 @@ org.apache.commons commons-lang3 + + com.google.guava + guava + From eb7253fc61dfc2de0f3088f11b8099c6171a8a9c Mon Sep 17 00:00:00 2001 From: wenchaogong Date: Mon, 16 Aug 2021 00:03:53 +0800 Subject: [PATCH 03/60] =?UTF-8?q?=E5=BC=80=E5=90=AF=E5=A4=B4=E9=83=A8?= =?UTF-8?q?=E5=AF=BC=E8=88=AA=E5=90=8E=EF=BC=8C=E9=A6=96=E9=A1=B5=E4=BB=AA?= =?UTF-8?q?=E8=A1=A8=E7=9B=98=E4=BD=8D=E7=BD=AE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/store/modules/permission.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/store/modules/permission.js b/ruoyi-ui/src/store/modules/permission.js index 81026f367..db07272df 100644 --- a/ruoyi-ui/src/store/modules/permission.js +++ b/ruoyi-ui/src/store/modules/permission.js @@ -21,12 +21,12 @@ const permission = { state.defaultRoutes = constantRoutes.concat(routes) }, SET_TOPBAR_ROUTES: (state, routes) => { - // 顶部导航菜单默认添加统计报表栏指向首页 + // 顶部导航菜单默认添加仪表盘栏指向首页 const index = [{ path: 'index', - meta: { title: '统计报表', icon: 'dashboard'} + meta: { title: '仪表盘', icon: 'dashboard'} }] - state.topbarRouters = routes.concat(index); + state.topbarRouters = index.concat(routes); }, SET_SIDEBAR_ROUTERS: (state, routes) => { state.sidebarRouters = routes From ad708ff3a6ed4ac501e8d4948a53533d28d5030e Mon Sep 17 00:00:00 2001 From: wenchaogong Date: Wed, 18 Aug 2021 22:34:46 +0800 Subject: [PATCH 04/60] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E7=8E=AF=E5=A2=83?= =?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 --- ruoyi-admin/src/main/resources/application-prod.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application-prod.yml b/ruoyi-admin/src/main/resources/application-prod.yml index 2640bc0eb..99225faf7 100644 --- a/ruoyi-admin/src/main/resources/application-prod.yml +++ b/ruoyi-admin/src/main/resources/application-prod.yml @@ -10,7 +10,7 @@ spring: # 主库数据源 master: driverClassName: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://172.30.0.36:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true + url: jdbc:mysql://172.17.0.1:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&autoReconnect=true username: root password: root # 从库数据源 @@ -72,7 +72,7 @@ spring: spring: redis: # 地址 - host: 172.30.0.48 + host: 172.17.0.1 # 端口,默认为6379 port: 6379 # 数据库索引 @@ -123,7 +123,7 @@ spring: # Spring Boot Admin Client 客户端的相关配置 client: # 设置 Spring Boot Admin Server 地址 - url: http://172.30.0.90:9090/admin + url: http://172.17.0.1:9090/admin instance: prefer-ip: true # 注册实例时,优先使用 IP username: ruoyi @@ -147,7 +147,7 @@ management: cloud-storage: # minio配置 minio: - endpoint: http://172.30.0.54:9000 + endpoint: http://172.17.0.1:9000 accessKey: ruoyi secretKey: ruoyi123 bucketName: ruoyi From fd7b9fa137b56d0245a88f28befae4d508b0d341 Mon Sep 17 00:00:00 2001 From: wenchaogong Date: Thu, 19 Aug 2021 17:50:20 +0800 Subject: [PATCH 05/60] =?UTF-8?q?1=E3=80=81=E5=8E=BB=E6=8E=89=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E7=99=BB=E5=BD=95=E7=94=A8=E6=88=B7=E5=90=8D=E3=80=81?= =?UTF-8?q?=E5=AF=86=E7=A0=81=202=E3=80=81=E8=B6=85=E7=AE=A1=20=E8=A7=92?= =?UTF-8?q?=E8=89=B2=E3=80=81=E7=94=A8=E6=88=B7=E7=8A=B6=E6=80=81=E7=A6=81?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/login.vue | 4 ++-- ruoyi-ui/src/views/system/role/index.vue | 1 + ruoyi-ui/src/views/system/user/index.vue | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/login.vue b/ruoyi-ui/src/views/login.vue index a87cb9df6..a91f1a209 100644 --- a/ruoyi-ui/src/views/login.vue +++ b/ruoyi-ui/src/views/login.vue @@ -65,8 +65,8 @@ export default { codeUrl: "", cookiePassword: "", loginForm: { - username: "admin", - password: "admin123", + username: "", + password: "", rememberMe: false, code: "", uuid: "" diff --git a/ruoyi-ui/src/views/system/role/index.vue b/ruoyi-ui/src/views/system/role/index.vue index 53d4f8d29..042badfd2 100644 --- a/ruoyi-ui/src/views/system/role/index.vue +++ b/ruoyi-ui/src/views/system/role/index.vue @@ -112,6 +112,7 @@ - + + +