From 9e4e5b8488ef6146ae6dd59e3f078db09b6ecbe9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E7=8E=89=E7=90=A6?= <7507756+jiang_yuqi@user.noreply.gitee.com> Date: Sat, 17 Aug 2024 13:13:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 52 ++++++++++--------- docker/copy.sh | 34 ++++++------ .../core/constant/ServiceNameConstants.java | 10 ++-- .../src/main/resources/bootstrap.yml | 2 +- yanzhu-ui-vue3/README.md | 49 +++++++++-------- 5 files changed, 78 insertions(+), 69 deletions(-) diff --git a/README.md b/README.md index 5b71adf0..6a4ba87c 100644 --- a/README.md +++ b/README.md @@ -29,31 +29,33 @@ ## 系统模块 ~~~ -com.ruoyi -├── ruoyi-ui // 前端框架 [80] -├── ruoyi-gateway // 网关模块 [8080] -├── ruoyi-auth // 认证中心 [9200] -├── ruoyi-rocketMQ // 消息队列 [9204] -├── ruoyi-manage // 分库分表 [9205] -├── ruoyi-api // 接口模块 -│ └── ruoyi-api-system // 系统接口 -├── ruoyi-common // 通用模块 -│ └── ruoyi-common-core // 核心模块 -│ └── ruoyi-common-datascope // 权限范围 -│ └── ruoyi-common-datasource // 多数据源 -│ └── ruoyi-common-log // 日志记录 -│ └── ruoyi-common-redis // 缓存服务 -│ └── ruoyi-common-seata // 分布式事务 -│ └── ruoyi-common-security // 安全模块 -│ └── ruoyi-common-swagger // 系统接口 -├── ruoyi-modules // 业务模块 -│ └── ruoyi-system // 系统模块 [9201] -│ └── ruoyi-gen // 代码生成 [9202] -│ └── ruoyi-job // 定时任务 [9203] -│ └── ruoyi-file // 文件服务 [9300] -├── ruoyi-visual // 图形化管理模块 -│ └── ruoyi-visual-monitor // 监控中心 [9100] -├──pom.xml // 公共依赖 +com.yanzhu +├── yanzhu-api // 接口模块 +│ └── yanzhu-api-system // 系统接口 +├── yanzhu-auth // 认证中心 [9200] +├── yanzhu-common // 通用模块 +│ └── yanzhu-common-core // 核心模块 +│ └── yanzhu-common-datascope // 权限范围 +│ └── yanzhu-common-datasource // 多数据源 +│ └── yanzhu-common-log // 日志记录 +│ └── yanzhu-common-mapper // 数据映射 +│ └── yanzhu-common-redis // 缓存服务 +│ └── yanzhu-common-seata // 分布式事务 +│ └── yanzhu-common-security // 安全模块 +│ └── yanzhu-common-swagger // 系统接口 +├── yanzhu-gateway // 网关模块 [8080] +├── yanzhu-modules // 业务模块 +│ └── yanzhu-system // 系统模块 [9201] +│ └── yanzhu-manage // 业务模块 [9208] +│ └── yanzhu-wechat // 微信模块 [9206] +│ └── yanzhu-gen // 代码生成 [9202] +│ └── yanzhu-job // 定时任务 [9203] +│ └── yanzhu-file // 文件服务 [9300] +├── yanzhu-monitor // 监控中心 [9100] +├── yanzhu-rocketMQ // 消息队列 [9207] +├── yanzhu-ui-vue3 // 前端框架 [80] +├── yanzhu-ui-app // 移动端 +├──pom.xml // 公共依赖 ~~~ 由个人原因没有时间写文档 有不明白的地方朋友请加好友 diff --git a/docker/copy.sh b/docker/copy.sh index ec2915b8..8b892d86 100644 --- a/docker/copy.sh +++ b/docker/copy.sh @@ -14,28 +14,30 @@ cp ../sql/ry_config_20220510.sql ./mysql/db # copy html echo "begin copy html " -cp -r ../ruoyi-ui/dist/** ./nginx/html/dist - +cp -r ../yanzhu-ui-vue3/dist/** ./nginx/html/dist # copy jar -echo "begin copy ruoyi-gateway " -cp ../ruoyi-gateway/target/ruoyi-gateway.jar ./ruoyi/gateway/jar +echo "begin copy yanzhu-gateway " +cp ../yanzhu-gateway/target/yanzhu-gateway.jar ./yanzhu/gateway/jar -echo "begin copy ruoyi-auth " -cp ../ruoyi-auth/target/ruoyi-auth.jar ./ruoyi/auth/jar +echo "begin copy yanzhu-auth " +cp ../yanzhu-auth/target/yanzhu-auth.jar ./yanzhu/auth/jar -echo "begin copy ruoyi-visual " -cp ../ruoyi-visual/ruoyi-monitor/target/ruoyi-visual-monitor.jar ./ruoyi/visual/monitor/jar +echo "begin copy yanzhu-visual " +cp ../yanzhu-visual/yanzhu-monitor/target/yanzhu-visual-monitor.jar ./yanzhu/visual/monitor/jar -echo "begin copy ruoyi-modules-system " -cp ../ruoyi-modules/ruoyi-system/target/ruoyi-modules-system.jar ./ruoyi/modules/system/jar +echo "begin copy yanzhu-modules-system " +cp ../yanzhu-modules/yanzhu-system/target/yanzhu-modules-system.jar ./yanzhu/modules/system/jar -echo "begin copy ruoyi-modules-file " -cp ../ruoyi-modules/ruoyi-file/target/ruoyi-modules-file.jar ./ruoyi/modules/file/jar +echo "begin copy yanzhu-modules-manage " +cp ../yanzhu-modules/yanzhu-manage/target/yanzhu-modules-manage.jar ./yanzhu/modules/manage/jar -echo "begin copy ruoyi-modules-job " -cp ../ruoyi-modules/ruoyi-job/target/ruoyi-modules-job.jar ./ruoyi/modules/job/jar +echo "begin copy yanzhu-modules-file " +cp ../yanzhu-modules/yanzhu-file/target/yanzhu-modules-file.jar ./yanzhu/modules/file/jar -echo "begin copy ruoyi-modules-gen " -cp ../ruoyi-modules/ruoyi-gen/target/ruoyi-modules-gen.jar ./ruoyi/modules/gen/jar +echo "begin copy yanzhu-modules-job " +cp ../yanzhu-modules/yanzhu-job/target/yanzhu-modules-job.jar ./yanzhu/modules/job/jar + +echo "begin copy yanzhu-modules-gen " +cp ../yanzhu-modules/yanzhu-gen/target/yanzhu-modules-gen.jar ./yanzhu/modules/gen/jar diff --git a/yanzhu-common/yanzhu-common-core/src/main/java/com/yanzhu/common/core/constant/ServiceNameConstants.java b/yanzhu-common/yanzhu-common-core/src/main/java/com/yanzhu/common/core/constant/ServiceNameConstants.java index 48ec0f53..42d2d2ac 100644 --- a/yanzhu-common/yanzhu-common-core/src/main/java/com/yanzhu/common/core/constant/ServiceNameConstants.java +++ b/yanzhu-common/yanzhu-common-core/src/main/java/com/yanzhu/common/core/constant/ServiceNameConstants.java @@ -10,25 +10,25 @@ public class ServiceNameConstants /** * 认证服务的serviceid */ - public static final String AUTH_SERVICE = "ruoyi-auth"; + public static final String AUTH_SERVICE = "yanzhu-auth"; /** * 系统模块的serviceid */ - public static final String SYSTEM_SERVICE = "ruoyi-system"; + public static final String SYSTEM_SERVICE = "yanzhu-system"; /** * 管理模块的serviceid */ - public static final String MANAGE_SERVICE = "ruoyi-manage"; + public static final String MANAGE_SERVICE = "yanzhu-manage"; /** * 微信模块的serviceid */ - public static final String WECHAT_SERVICE = "ruoyi-wechat"; + public static final String WECHAT_SERVICE = "yanzhu-wechat"; /** * 文件服务的serviceid */ - public static final String FILE_SERVICE = "ruoyi-file"; + public static final String FILE_SERVICE = "yanzhu-file"; } diff --git a/yanzhu-modules/yanzhu-manage/src/main/resources/bootstrap.yml b/yanzhu-modules/yanzhu-manage/src/main/resources/bootstrap.yml index 5cf7d0cb..1dd76e42 100644 --- a/yanzhu-modules/yanzhu-manage/src/main/resources/bootstrap.yml +++ b/yanzhu-modules/yanzhu-manage/src/main/resources/bootstrap.yml @@ -1,6 +1,6 @@ # Tomcat server: - port: 9206 + port: 9208 # Spring spring: diff --git a/yanzhu-ui-vue3/README.md b/yanzhu-ui-vue3/README.md index 13bd6f8c..a67606a8 100644 --- a/yanzhu-ui-vue3/README.md +++ b/yanzhu-ui-vue3/README.md @@ -40,28 +40,33 @@ yarn dev ## 系统模块 ~~~ -com.ruoyi -├── ruoyi-ui // 前端框架 [80] -├── ruoyi-gateway // 网关模块 [8080] -├── ruoyi-auth // 认证中心 [9200] -├── ruoyi-api // 接口模块 -│ └── ruoyi-api-system // 系统接口 -├── ruoyi-common // 通用模块 -│ └── ruoyi-common-core // 核心模块 -│ └── ruoyi-common-datascope // 权限范围 -│ └── ruoyi-common-datasource // 多数据源 -│ └── ruoyi-common-log // 日志记录 -│ └── ruoyi-common-redis // 缓存服务 -│ └── ruoyi-common-security // 安全模块 -│ └── ruoyi-common-swagger // 系统接口 -├── ruoyi-modules // 业务模块 -│ └── ruoyi-system // 系统模块 [9201] -│ └── ruoyi-gen // 代码生成 [9202] -│ └── ruoyi-job // 定时任务 [9203] -│ └── ruoyi-file // 文件服务 [9300] -├── ruoyi-visual // 图形化管理模块 -│ └── ruoyi-visual-monitor // 监控中心 [9100] -├──pom.xml // 公共依赖 +com.yanzhu +├── yanzhu-api // 接口模块 +│ └── yanzhu-api-system // 系统接口 +├── yanzhu-auth // 认证中心 [9200] +├── yanzhu-common // 通用模块 +│ └── yanzhu-common-core // 核心模块 +│ └── yanzhu-common-datascope // 权限范围 +│ └── yanzhu-common-datasource // 多数据源 +│ └── yanzhu-common-log // 日志记录 +│ └── yanzhu-common-mapper // 数据映射 +│ └── yanzhu-common-redis // 缓存服务 +│ └── yanzhu-common-seata // 分布式事务 +│ └── yanzhu-common-security // 安全模块 +│ └── yanzhu-common-swagger // 系统接口 +├── yanzhu-gateway // 网关模块 [8080] +├── yanzhu-modules // 业务模块 +│ └── yanzhu-system // 系统模块 [9201] +│ └── yanzhu-manage // 业务模块 [9208] +│ └── yanzhu-wechat // 微信模块 [9206] +│ └── yanzhu-gen // 代码生成 [9202] +│ └── yanzhu-job // 定时任务 [9203] +│ └── yanzhu-file // 文件服务 [9300] +├── yanzhu-monitor // 监控中心 [9100] +├── yanzhu-rocketMQ // 消息队列 [9207] +├── yanzhu-ui-vue3 // 前端框架 [80] +├── yanzhu-ui-app // 移动端 +├──pom.xml // 公共依赖 ~~~ ## 架构图