提交代码

dev_xd
姜玉琦 2024-08-17 13:13:48 +08:00
parent a5fcb91b19
commit 9e4e5b8488
5 changed files with 78 additions and 69 deletions

View File

@ -29,31 +29,33 @@
## 系统模块 ## 系统模块
~~~ ~~~
com.ruoyi com.yanzhu
├── ruoyi-ui // 前端框架 [80] ├── yanzhu-api // 接口模块
├── ruoyi-gateway // 网关模块 [8080] │ └── yanzhu-api-system // 系统接口
├── ruoyi-auth // 认证中心 [9200] ├── yanzhu-auth // 认证中心 [9200]
├── ruoyi-rocketMQ // 消息队列 [9204] ├── yanzhu-common // 通用模块
├── ruoyi-manage // 分库分表 [9205] │ └── yanzhu-common-core // 核心模块
├── ruoyi-api // 接口模块 │ └── yanzhu-common-datascope // 权限范围
│ └── ruoyi-api-system // 系统接口 │ └── yanzhu-common-datasource // 多数据源
├── ruoyi-common // 通用模块 │ └── yanzhu-common-log // 日志记录
│ └── ruoyi-common-core // 核心模块 │ └── yanzhu-common-mapper // 数据映射
│ └── ruoyi-common-datascope // 权限范围 │ └── yanzhu-common-redis // 缓存服务
│ └── ruoyi-common-datasource // 多数据源 │ └── yanzhu-common-seata // 分布式事务
│ └── ruoyi-common-log // 日志记录 │ └── yanzhu-common-security // 安全模块
│ └── ruoyi-common-redis // 缓存服务 │ └── yanzhu-common-swagger // 系统接口
│ └── ruoyi-common-seata // 分布式事务 ├── yanzhu-gateway // 网关模块 [8080]
│ └── ruoyi-common-security // 安全模块 ├── yanzhu-modules // 业务模块
│ └── ruoyi-common-swagger // 系统接口 │ └── yanzhu-system // 系统模块 [9201]
├── ruoyi-modules // 业务模块 │ └── yanzhu-manage // 业务模块 [9208]
│ └── ruoyi-system // 系统模块 [9201] │ └── yanzhu-wechat // 微信模块 [9206]
│ └── ruoyi-gen // 代码生成 [9202] │ └── yanzhu-gen // 代码生成 [9202]
│ └── ruoyi-job // 定时任务 [9203] │ └── yanzhu-job // 定时任务 [9203]
│ └── ruoyi-file // 文件服务 [9300] │ └── yanzhu-file // 文件服务 [9300]
├── ruoyi-visual // 图形化管理模块 ├── yanzhu-monitor // 监控中心 [9100]
│ └── ruoyi-visual-monitor // 监控中心 [9100] ├── yanzhu-rocketMQ // 消息队列 [9207]
├──pom.xml // 公共依赖 ├── yanzhu-ui-vue3 // 前端框架 [80]
├── yanzhu-ui-app // 移动端
├──pom.xml // 公共依赖
~~~ ~~~
由个人原因没有时间写文档 有不明白的地方朋友请加好友 由个人原因没有时间写文档 有不明白的地方朋友请加好友

View File

@ -14,28 +14,30 @@ cp ../sql/ry_config_20220510.sql ./mysql/db
# copy html # copy html
echo "begin 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 # copy jar
echo "begin copy ruoyi-gateway " echo "begin copy yanzhu-gateway "
cp ../ruoyi-gateway/target/ruoyi-gateway.jar ./ruoyi/gateway/jar cp ../yanzhu-gateway/target/yanzhu-gateway.jar ./yanzhu/gateway/jar
echo "begin copy ruoyi-auth " echo "begin copy yanzhu-auth "
cp ../ruoyi-auth/target/ruoyi-auth.jar ./ruoyi/auth/jar cp ../yanzhu-auth/target/yanzhu-auth.jar ./yanzhu/auth/jar
echo "begin copy ruoyi-visual " echo "begin copy yanzhu-visual "
cp ../ruoyi-visual/ruoyi-monitor/target/ruoyi-visual-monitor.jar ./ruoyi/visual/monitor/jar cp ../yanzhu-visual/yanzhu-monitor/target/yanzhu-visual-monitor.jar ./yanzhu/visual/monitor/jar
echo "begin copy ruoyi-modules-system " echo "begin copy yanzhu-modules-system "
cp ../ruoyi-modules/ruoyi-system/target/ruoyi-modules-system.jar ./ruoyi/modules/system/jar cp ../yanzhu-modules/yanzhu-system/target/yanzhu-modules-system.jar ./yanzhu/modules/system/jar
echo "begin copy ruoyi-modules-file " echo "begin copy yanzhu-modules-manage "
cp ../ruoyi-modules/ruoyi-file/target/ruoyi-modules-file.jar ./ruoyi/modules/file/jar cp ../yanzhu-modules/yanzhu-manage/target/yanzhu-modules-manage.jar ./yanzhu/modules/manage/jar
echo "begin copy ruoyi-modules-job " echo "begin copy yanzhu-modules-file "
cp ../ruoyi-modules/ruoyi-job/target/ruoyi-modules-job.jar ./ruoyi/modules/job/jar cp ../yanzhu-modules/yanzhu-file/target/yanzhu-modules-file.jar ./yanzhu/modules/file/jar
echo "begin copy ruoyi-modules-gen " echo "begin copy yanzhu-modules-job "
cp ../ruoyi-modules/ruoyi-gen/target/ruoyi-modules-gen.jar ./ruoyi/modules/gen/jar 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

View File

@ -10,25 +10,25 @@ public class ServiceNameConstants
/** /**
* serviceid * serviceid
*/ */
public static final String AUTH_SERVICE = "ruoyi-auth"; public static final String AUTH_SERVICE = "yanzhu-auth";
/** /**
* serviceid * serviceid
*/ */
public static final String SYSTEM_SERVICE = "ruoyi-system"; public static final String SYSTEM_SERVICE = "yanzhu-system";
/** /**
* serviceid * serviceid
*/ */
public static final String MANAGE_SERVICE = "ruoyi-manage"; public static final String MANAGE_SERVICE = "yanzhu-manage";
/** /**
* serviceid * serviceid
*/ */
public static final String WECHAT_SERVICE = "ruoyi-wechat"; public static final String WECHAT_SERVICE = "yanzhu-wechat";
/** /**
* serviceid * serviceid
*/ */
public static final String FILE_SERVICE = "ruoyi-file"; public static final String FILE_SERVICE = "yanzhu-file";
} }

View File

@ -1,6 +1,6 @@
# Tomcat # Tomcat
server: server:
port: 9206 port: 9208
# Spring # Spring
spring: spring:

View File

@ -40,28 +40,33 @@ yarn dev
## 系统模块 ## 系统模块
~~~ ~~~
com.ruoyi com.yanzhu
├── ruoyi-ui // 前端框架 [80] ├── yanzhu-api // 接口模块
├── ruoyi-gateway // 网关模块 [8080] │ └── yanzhu-api-system // 系统接口
├── ruoyi-auth // 认证中心 [9200] ├── yanzhu-auth // 认证中心 [9200]
├── ruoyi-api // 接口模块 ├── yanzhu-common // 通用模块
│ └── ruoyi-api-system // 系统接口 │ └── yanzhu-common-core // 核心模块
├── ruoyi-common // 通用模块 │ └── yanzhu-common-datascope // 权限范围
│ └── ruoyi-common-core // 核心模块 │ └── yanzhu-common-datasource // 多数据源
│ └── ruoyi-common-datascope // 权限范围 │ └── yanzhu-common-log // 日志记录
│ └── ruoyi-common-datasource // 多数据源 │ └── yanzhu-common-mapper // 数据映射
│ └── ruoyi-common-log // 日志记录 │ └── yanzhu-common-redis // 缓存服务
│ └── ruoyi-common-redis // 缓存服务 │ └── yanzhu-common-seata // 分布式事务
│ └── ruoyi-common-security // 安全模块 │ └── yanzhu-common-security // 安全模块
│ └── ruoyi-common-swagger // 系统接口 │ └── yanzhu-common-swagger // 系统接口
├── ruoyi-modules // 业务模块 ├── yanzhu-gateway // 网关模块 [8080]
│ └── ruoyi-system // 系统模块 [9201] ├── yanzhu-modules // 业务模块
│ └── ruoyi-gen // 代码生成 [9202] │ └── yanzhu-system // 系统模块 [9201]
│ └── ruoyi-job // 定时任务 [9203] │ └── yanzhu-manage // 业务模块 [9208]
│ └── ruoyi-file // 文件服务 [9300] │ └── yanzhu-wechat // 微信模块 [9206]
├── ruoyi-visual // 图形化管理模块 │ └── yanzhu-gen // 代码生成 [9202]
│ └── ruoyi-visual-monitor // 监控中心 [9100] │ └── yanzhu-job // 定时任务 [9203]
├──pom.xml // 公共依赖 │ └── yanzhu-file // 文件服务 [9300]
├── yanzhu-monitor // 监控中心 [9100]
├── yanzhu-rocketMQ // 消息队列 [9207]
├── yanzhu-ui-vue3 // 前端框架 [80]
├── yanzhu-ui-app // 移动端
├──pom.xml // 公共依赖
~~~ ~~~
## 架构图 ## 架构图