提交代码

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
├── 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 // 公共依赖
~~~
由个人原因没有时间写文档 有不明白的地方朋友请加好友

View File

@ -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

View File

@ -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";
}

View File

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

View File

@ -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 // 公共依赖
~~~
## 架构图