diff --git a/README.md b/README.md
index 9f676106c..b6b313734 100644
--- a/README.md
+++ b/README.md
@@ -25,7 +25,6 @@
### 系统功能
-
| | 功能 | 描述 |
| --- | --- | --- |
| | 用户管理 | 用户是系统操作者,该功能主要完成系统用户配置 |
diff --git a/pom.xml b/pom.xml
index 546c01014..60163cc01 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,364 +4,20 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- cn.iocoder
- dashboard
- 1.0.0
+ cn.iocoder.boot
+ yudao
+ ${revision}
+ pom
+
+ yudao-dependencies
+
+ yudao-admin-server
+
- dashboard
- http://www.iocoder.cn
- 芋道管理系统
- jar
-
-
- UTF-8
- UTF-8
- @
- 1.8
- ${java.version}
- ${java.version}
- 3.8.0
-
- 2.4.4
-
- 3.0.2
- 1.5.22
-
- 5.1.46
- 1.2.4
- 3.4.2
- 3.3.2
- 3.15.1
-
- 1.7.0
-
- 2.2.0
- 1.7.0
-
- 8.5.0
- 6.1
- 2.3.1
-
- 1.16.14
- 1.4.1.Final
- 5.6.1
- 2.2.7
- 2.2
- 1.0.5
- 7.2.6.RELEASE
- 0.1.16
-
- 4.5.18
- 2.1.0
- 1.2.7
-
-
-
-
-
-
-
- org.springframework.boot
- spring-boot-dependencies
- ${spring.boot.version}
- pom
- import
-
-
-
-
-
-
-
-
- org.springframework.boot
- spring-boot-configuration-processor
- true
-
-
-
- org.springframework.boot
- spring-boot-starter-aop
-
-
-
-
- org.springframework.boot
- spring-boot-starter-web
-
-
-
- org.springframework.boot
- spring-boot-starter-security
-
-
-
- org.springframework.boot
- spring-boot-starter-validation
-
-
-
- com.github.xiaoymin
- knife4j-spring-boot-starter
- ${knife4j.version}
-
-
- mapstruct
- org.mapstruct
-
-
- guava
- com.google.guava
-
-
- swagger-annotations
- io.swagger
-
-
-
-
- io.swagger
- swagger-annotations
- ${swagger-annotations.version}
-
-
-
-
- mysql
- mysql-connector-java
- ${mysql-connector-java.version}
-
-
- com.alibaba
- druid-spring-boot-starter
- ${druid.version}
-
-
- com.baomidou
- mybatis-plus-boot-starter
- ${mybatis-plus.version}
-
-
- com.baomidou
- dynamic-datasource-spring-boot-starter
- ${dynamic-datasource.version}
-
-
-
- org.redisson
- redisson-spring-boot-starter
- ${redisson.version}
-
-
-
-
- com.ctrip.framework.apollo
- apollo-client
- ${apollo.version}
-
-
-
-
- org.springframework.boot
- spring-boot-starter-quartz
-
-
-
-
- com.baomidou
- lock4j-redisson-spring-boot-starter
- ${lock4j.version}
-
-
- redisson-spring-boot-starter
- org.redisson
-
-
-
-
-
- io.github.resilience4j
- resilience4j-spring-boot2
- ${resilience4j.version}
-
-
-
-
- org.apache.skywalking
- apm-toolkit-trace
- ${skywalking.version}
-
-
- org.apache.skywalking
- apm-toolkit-logback-1.x
- ${skywalking.version}
-
-
- org.apache.skywalking
- apm-toolkit-opentracing
- ${skywalking.version}
-
-
-
- de.codecentric
- spring-boot-admin-starter-server
- ${spring-boot-admin.version}
-
-
- de.codecentric
- spring-boot-admin-starter-client
- ${spring-boot-admin.version}
-
-
-
-
- org.springframework.boot
- spring-boot-starter-test
- test
-
-
- asm
- org.ow2.asm
-
-
-
-
-
- com.h2database
- h2
- test
-
-
-
- com.github.fppt
- jedis-mock
- ${jedis-mock.version}
- test
-
-
-
- uk.co.jemos.podam
- podam
- ${podam.version}
- test
-
-
-
-
- org.projectlombok
- lombok
- ${lombok.version}
-
-
-
- org.mapstruct
- mapstruct
- ${mapstruct.version}
-
-
- org.mapstruct
- mapstruct-processor
- ${mapstruct.version}
- true
-
-
- org.mapstruct
- mapstruct-jdk8
- ${mapstruct.version}
-
-
-
- cn.hutool
- hutool-all
- ${hutool.version}
-
-
-
- com.alibaba
- easyexcel
- ${easyexcel.verion}
-
-
-
- org.apache.velocity
- velocity-engine-core
- ${velocity.version}
-
-
-
- cn.smallbun.screw
- screw-core
- ${screw.version}
-
-
-
-
-
-
- com.yunpian.sdk
- yunpian-java-sdk
- ${yunpian-java-sdk.version}
-
-
-
- com.aliyun
- aliyun-java-sdk-core
- ${aliyun-java-sdk-core.version}
-
-
- com.aliyun
- aliyun-java-sdk-dysmsapi
- ${aliyun-java-sdk-dysmsapi.version}
-
-
-
-
+ yudao
+ 芋道项目基础脚手架
+ https://github.com/YunaiV/ruoyi-vue-pro
-
-
- ${project.artifactId}
-
-
-
- org.springframework.boot
- spring-boot-maven-plugin
- ${spring.boot.version}
-
- true
-
-
-
-
- repackage
-
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- ${maven-compiler-plugin.version}
-
-
- ${java.version}
-
-
- org.mapstruct
- mapstruct-processor
- ${mapstruct.version}
-
-
- org.projectlombok
- lombok
- ${lombok.version}
-
-
-
-
-
-
diff --git a/yudao-admin-server/pom.xml b/yudao-admin-server/pom.xml
new file mode 100644
index 000000000..5c2560b67
--- /dev/null
+++ b/yudao-admin-server/pom.xml
@@ -0,0 +1,367 @@
+
+
+ 4.0.0
+
+ cn.iocoder.boot
+ yudao-admin-server
+ ${revision}
+ jar
+
+ yudao-admin-server
+ 管理后台 Server,提供其 API 接口
+ https://github.com/YunaiV/ruoyi-vue-pro
+
+
+ 1.0.0
+ UTF-8
+ UTF-8
+ @
+ 1.8
+ ${java.version}
+ ${java.version}
+ 3.8.0
+
+
+ 2.4.4
+
+ 3.0.2
+ 1.5.22
+
+ 5.1.46
+ 1.2.4
+ 3.4.2
+ 3.3.2
+ 3.15.1
+
+ 1.7.0
+
+ 2.2.0
+ 1.7.0
+
+ 8.5.0
+ 6.1
+ 2.3.1
+
+ 1.16.14
+ 1.4.1.Final
+ 5.6.1
+ 2.2.7
+ 2.2
+ 1.0.5
+ 7.2.6.RELEASE
+ 0.1.16
+
+ 4.5.18
+ 2.1.0
+ 1.2.7
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-dependencies
+ ${spring.boot.version}
+ pom
+ import
+
+
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-configuration-processor
+ true
+
+
+
+ org.springframework.boot
+ spring-boot-starter-aop
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+ org.springframework.boot
+ spring-boot-starter-security
+
+
+
+ org.springframework.boot
+ spring-boot-starter-validation
+
+
+
+ com.github.xiaoymin
+ knife4j-spring-boot-starter
+ ${knife4j.version}
+
+
+ mapstruct
+ org.mapstruct
+
+
+ guava
+ com.google.guava
+
+
+ swagger-annotations
+ io.swagger
+
+
+
+
+ io.swagger
+ swagger-annotations
+ ${swagger-annotations.version}
+
+
+
+
+ mysql
+ mysql-connector-java
+ ${mysql-connector-java.version}
+
+
+ com.alibaba
+ druid-spring-boot-starter
+ ${druid.version}
+
+
+ com.baomidou
+ mybatis-plus-boot-starter
+ ${mybatis-plus.version}
+
+
+ com.baomidou
+ dynamic-datasource-spring-boot-starter
+ ${dynamic-datasource.version}
+
+
+
+ org.redisson
+ redisson-spring-boot-starter
+ ${redisson.version}
+
+
+
+
+ com.ctrip.framework.apollo
+ apollo-client
+ ${apollo.version}
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-quartz
+
+
+
+
+ com.baomidou
+ lock4j-redisson-spring-boot-starter
+ ${lock4j.version}
+
+
+ redisson-spring-boot-starter
+ org.redisson
+
+
+
+
+
+ io.github.resilience4j
+ resilience4j-spring-boot2
+ ${resilience4j.version}
+
+
+
+
+ org.apache.skywalking
+ apm-toolkit-trace
+ ${skywalking.version}
+
+
+ org.apache.skywalking
+ apm-toolkit-logback-1.x
+ ${skywalking.version}
+
+
+ org.apache.skywalking
+ apm-toolkit-opentracing
+ ${skywalking.version}
+
+
+
+ de.codecentric
+ spring-boot-admin-starter-server
+ ${spring-boot-admin.version}
+
+
+ de.codecentric
+ spring-boot-admin-starter-client
+ ${spring-boot-admin.version}
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+ asm
+ org.ow2.asm
+
+
+
+
+
+ com.h2database
+ h2
+ test
+
+
+
+ com.github.fppt
+ jedis-mock
+ ${jedis-mock.version}
+ test
+
+
+
+ uk.co.jemos.podam
+ podam
+ ${podam.version}
+ test
+
+
+
+
+ org.projectlombok
+ lombok
+ ${lombok.version}
+
+
+
+ org.mapstruct
+ mapstruct
+ ${mapstruct.version}
+
+
+ org.mapstruct
+ mapstruct-processor
+ ${mapstruct.version}
+ true
+
+
+ org.mapstruct
+ mapstruct-jdk8
+ ${mapstruct.version}
+
+
+
+ cn.hutool
+ hutool-all
+ ${hutool.version}
+
+
+
+ com.alibaba
+ easyexcel
+ ${easyexcel.verion}
+
+
+
+ org.apache.velocity
+ velocity-engine-core
+ ${velocity.version}
+
+
+
+ cn.smallbun.screw
+ screw-core
+ ${screw.version}
+
+
+
+
+
+
+ com.yunpian.sdk
+ yunpian-java-sdk
+ ${yunpian-java-sdk.version}
+
+
+
+ com.aliyun
+ aliyun-java-sdk-core
+ ${aliyun-java-sdk-core.version}
+
+
+ com.aliyun
+ aliyun-java-sdk-dysmsapi
+ ${aliyun-java-sdk-dysmsapi.version}
+
+
+
+
+
+
+
+
+ ${project.artifactId}
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+ ${spring.boot.version}
+
+ true
+
+
+
+
+ repackage
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ ${maven-compiler-plugin.version}
+
+
+ ${java.version}
+
+
+ org.mapstruct
+ mapstruct-processor
+ ${mapstruct.version}
+
+
+ org.projectlombok
+ lombok
+ ${lombok.version}
+
+
+
+
+
+
+
+
diff --git a/src/main/java/cn/iocoder/dashboard/DashboardApplication.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/DashboardApplication.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/DashboardApplication.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/DashboardApplication.java
diff --git a/src/main/java/cn/iocoder/dashboard/common/core/IntArrayValuable.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/core/IntArrayValuable.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/common/core/IntArrayValuable.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/core/IntArrayValuable.java
diff --git a/src/main/java/cn/iocoder/dashboard/common/core/KeyValue.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/core/KeyValue.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/common/core/KeyValue.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/core/KeyValue.java
diff --git a/src/main/java/cn/iocoder/dashboard/common/enums/CommonStatusEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/enums/CommonStatusEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/common/enums/CommonStatusEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/enums/CommonStatusEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/common/enums/DefaultBitFieldEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/enums/DefaultBitFieldEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/common/enums/DefaultBitFieldEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/enums/DefaultBitFieldEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/common/enums/UserTypeEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/enums/UserTypeEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/common/enums/UserTypeEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/enums/UserTypeEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/common/exception/ErrorCode.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/exception/ErrorCode.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/common/exception/ErrorCode.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/exception/ErrorCode.java
diff --git a/src/main/java/cn/iocoder/dashboard/common/exception/ServiceException.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/exception/ServiceException.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/common/exception/ServiceException.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/exception/ServiceException.java
diff --git a/src/main/java/cn/iocoder/dashboard/common/exception/enums/GlobalErrorCodeConstants.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/exception/enums/GlobalErrorCodeConstants.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/common/exception/enums/GlobalErrorCodeConstants.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/exception/enums/GlobalErrorCodeConstants.java
diff --git a/src/main/java/cn/iocoder/dashboard/common/exception/enums/ServiceErrorCodeRange.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/exception/enums/ServiceErrorCodeRange.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/common/exception/enums/ServiceErrorCodeRange.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/exception/enums/ServiceErrorCodeRange.java
diff --git a/src/main/java/cn/iocoder/dashboard/common/exception/util/ServiceExceptionUtil.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/exception/util/ServiceExceptionUtil.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/common/exception/util/ServiceExceptionUtil.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/exception/util/ServiceExceptionUtil.java
diff --git a/src/main/java/cn/iocoder/dashboard/common/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/common/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/common/pojo/CommonResult.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/pojo/CommonResult.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/common/pojo/CommonResult.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/pojo/CommonResult.java
diff --git a/src/main/java/cn/iocoder/dashboard/common/pojo/PageParam.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/pojo/PageParam.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/common/pojo/PageParam.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/pojo/PageParam.java
diff --git a/src/main/java/cn/iocoder/dashboard/common/pojo/PageResult.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/pojo/PageResult.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/common/pojo/PageResult.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/pojo/PageResult.java
diff --git a/src/main/java/cn/iocoder/dashboard/common/pojo/SortingField.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/pojo/SortingField.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/common/pojo/SortingField.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/common/pojo/SortingField.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/apollo/core/ConfigConsts.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/apollo/core/ConfigConsts.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/apollo/core/ConfigConsts.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/apollo/core/ConfigConsts.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/apollo/internals/ConfigFrameworkDAO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/apollo/internals/ConfigFrameworkDAO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/apollo/internals/ConfigFrameworkDAO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/apollo/internals/ConfigFrameworkDAO.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/apollo/internals/DBConfigRepository.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/apollo/internals/DBConfigRepository.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/apollo/internals/DBConfigRepository.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/apollo/internals/DBConfigRepository.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/apollo/internals/DefaultXInjector.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/apollo/internals/DefaultXInjector.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/apollo/internals/DefaultXInjector.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/apollo/internals/DefaultXInjector.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/apollo/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/apollo/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/apollo/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/apollo/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/apollo/spi/DBConfigFactory.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/apollo/spi/DBConfigFactory.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/apollo/spi/DBConfigFactory.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/apollo/spi/DBConfigFactory.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/apollo/spring/boot/ApolloApplicationContextInitializer.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/apollo/spring/boot/ApolloApplicationContextInitializer.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/apollo/spring/boot/ApolloApplicationContextInitializer.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/apollo/spring/boot/ApolloApplicationContextInitializer.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/async/config/AsyncConfiguration.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/async/config/AsyncConfiguration.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/async/config/AsyncConfiguration.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/async/config/AsyncConfiguration.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/async/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/async/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/async/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/async/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/async/《芋道 Spring Boot 异步任务入门》.md b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/async/《芋道 Spring Boot 异步任务入门》.md
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/async/《芋道 Spring Boot 异步任务入门》.md
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/async/《芋道 Spring Boot 异步任务入门》.md
diff --git a/src/main/java/cn/iocoder/dashboard/framework/captcha/config/CaptchaConfig.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/captcha/config/CaptchaConfig.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/captcha/config/CaptchaConfig.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/captcha/config/CaptchaConfig.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/captcha/config/CaptchaProperties.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/captcha/config/CaptchaProperties.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/captcha/config/CaptchaProperties.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/captcha/config/CaptchaProperties.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/captcha/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/captcha/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/captcha/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/captcha/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/codegen/config/CodegenConfiguration.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/codegen/config/CodegenConfiguration.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/codegen/config/CodegenConfiguration.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/codegen/config/CodegenConfiguration.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/codegen/config/CodegenProperties.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/codegen/config/CodegenProperties.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/codegen/config/CodegenProperties.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/codegen/config/CodegenProperties.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/codegen/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/codegen/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/codegen/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/codegen/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/datasource/config/DataSourceConfiguration.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/datasource/config/DataSourceConfiguration.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/datasource/config/DataSourceConfiguration.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/datasource/config/DataSourceConfiguration.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/datasource/core/enums/DataSourceEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/datasource/core/enums/DataSourceEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/datasource/core/enums/DataSourceEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/datasource/core/enums/DataSourceEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/datasource/core/filter/DruidAdRemoveFilter.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/datasource/core/filter/DruidAdRemoveFilter.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/datasource/core/filter/DruidAdRemoveFilter.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/datasource/core/filter/DruidAdRemoveFilter.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/datasource/《芋道 Spring Boot 多数据源(读写分离)入门》.md b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/datasource/《芋道 Spring Boot 多数据源(读写分离)入门》.md
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/datasource/《芋道 Spring Boot 多数据源(读写分离)入门》.md
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/datasource/《芋道 Spring Boot 多数据源(读写分离)入门》.md
diff --git a/src/main/java/cn/iocoder/dashboard/framework/datasource/《芋道 Spring Boot 数据库连接池入门》.md b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/datasource/《芋道 Spring Boot 数据库连接池入门》.md
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/datasource/《芋道 Spring Boot 数据库连接池入门》.md
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/datasource/《芋道 Spring Boot 数据库连接池入门》.md
diff --git a/src/main/java/cn/iocoder/dashboard/framework/dict/config/DictConfiguration.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/dict/config/DictConfiguration.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/dict/config/DictConfiguration.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/dict/config/DictConfiguration.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/dict/core/service/DictDataFrameworkService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/dict/core/service/DictDataFrameworkService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/dict/core/service/DictDataFrameworkService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/dict/core/service/DictDataFrameworkService.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/dict/core/util/DictUtils.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/dict/core/util/DictUtils.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/dict/core/util/DictUtils.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/dict/core/util/DictUtils.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/dict/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/dict/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/dict/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/dict/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/errorcode/config/ErrorCodeConfiguration.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/errorcode/config/ErrorCodeConfiguration.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/errorcode/config/ErrorCodeConfiguration.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/errorcode/config/ErrorCodeConfiguration.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/errorcode/config/ErrorCodeProperties.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/errorcode/config/ErrorCodeProperties.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/errorcode/config/ErrorCodeProperties.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/errorcode/config/ErrorCodeProperties.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/errorcode/core/dto/ErrorCodeAutoGenerateReqDTO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/errorcode/core/dto/ErrorCodeAutoGenerateReqDTO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/errorcode/core/dto/ErrorCodeAutoGenerateReqDTO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/errorcode/core/dto/ErrorCodeAutoGenerateReqDTO.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/errorcode/core/dto/ErrorCodeRespDTO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/errorcode/core/dto/ErrorCodeRespDTO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/errorcode/core/dto/ErrorCodeRespDTO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/errorcode/core/dto/ErrorCodeRespDTO.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/errorcode/core/generator/ErrorCodeAutoGenerator.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/errorcode/core/generator/ErrorCodeAutoGenerator.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/errorcode/core/generator/ErrorCodeAutoGenerator.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/errorcode/core/generator/ErrorCodeAutoGenerator.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/errorcode/core/generator/ErrorCodeAutoGeneratorImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/errorcode/core/generator/ErrorCodeAutoGeneratorImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/errorcode/core/generator/ErrorCodeAutoGeneratorImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/errorcode/core/generator/ErrorCodeAutoGeneratorImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/errorcode/core/loader/ErrorCodeLoader.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/errorcode/core/loader/ErrorCodeLoader.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/errorcode/core/loader/ErrorCodeLoader.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/errorcode/core/loader/ErrorCodeLoader.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/errorcode/core/loader/ErrorCodeLoaderImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/errorcode/core/loader/ErrorCodeLoaderImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/errorcode/core/loader/ErrorCodeLoaderImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/errorcode/core/loader/ErrorCodeLoaderImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/errorcode/core/service/ErrorCodeFrameworkService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/errorcode/core/service/ErrorCodeFrameworkService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/errorcode/core/service/ErrorCodeFrameworkService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/errorcode/core/service/ErrorCodeFrameworkService.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/errorcode/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/errorcode/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/errorcode/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/errorcode/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/excel/core/annotations/DictFormat.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/excel/core/annotations/DictFormat.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/excel/core/annotations/DictFormat.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/excel/core/annotations/DictFormat.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/excel/core/convert/DictConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/excel/core/convert/DictConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/excel/core/convert/DictConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/excel/core/convert/DictConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/excel/core/convert/JsonConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/excel/core/convert/JsonConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/excel/core/convert/JsonConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/excel/core/convert/JsonConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/excel/core/util/ExcelUtils.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/excel/core/util/ExcelUtils.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/excel/core/util/ExcelUtils.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/excel/core/util/ExcelUtils.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/excel/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/excel/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/excel/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/excel/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/file/config/FileConfiguration.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/file/config/FileConfiguration.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/file/config/FileConfiguration.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/file/config/FileConfiguration.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/file/config/FileProperties.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/file/config/FileProperties.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/file/config/FileProperties.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/file/config/FileProperties.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/file/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/file/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/file/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/file/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/idempotent/config/IdempotentConfiguration.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/idempotent/config/IdempotentConfiguration.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/idempotent/config/IdempotentConfiguration.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/idempotent/config/IdempotentConfiguration.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/idempotent/core/annotation/Idempotent.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/idempotent/core/annotation/Idempotent.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/idempotent/core/annotation/Idempotent.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/idempotent/core/annotation/Idempotent.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/idempotent/core/aop/IdempotentAspect.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/idempotent/core/aop/IdempotentAspect.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/idempotent/core/aop/IdempotentAspect.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/idempotent/core/aop/IdempotentAspect.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/idempotent/core/keyresolver/IdempotentKeyResolver.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/idempotent/core/keyresolver/IdempotentKeyResolver.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/idempotent/core/keyresolver/IdempotentKeyResolver.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/idempotent/core/keyresolver/IdempotentKeyResolver.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/idempotent/core/keyresolver/impl/DefaultIdempotentKeyResolver.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/idempotent/core/keyresolver/impl/DefaultIdempotentKeyResolver.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/idempotent/core/keyresolver/impl/DefaultIdempotentKeyResolver.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/idempotent/core/keyresolver/impl/DefaultIdempotentKeyResolver.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/idempotent/core/keyresolver/impl/ExpressionIdempotentKeyResolver.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/idempotent/core/keyresolver/impl/ExpressionIdempotentKeyResolver.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/idempotent/core/keyresolver/impl/ExpressionIdempotentKeyResolver.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/idempotent/core/keyresolver/impl/ExpressionIdempotentKeyResolver.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/idempotent/core/redis/IdempotentRedisDAO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/idempotent/core/redis/IdempotentRedisDAO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/idempotent/core/redis/IdempotentRedisDAO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/idempotent/core/redis/IdempotentRedisDAO.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/idempotent/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/idempotent/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/idempotent/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/idempotent/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/jackson/config/JacksonConfig.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/jackson/config/JacksonConfig.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/jackson/config/JacksonConfig.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/jackson/config/JacksonConfig.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/jackson/deser/LocalDateTimeDeserializer.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/jackson/deser/LocalDateTimeDeserializer.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/jackson/deser/LocalDateTimeDeserializer.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/jackson/deser/LocalDateTimeDeserializer.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/jackson/ser/LocalDateTimeSerializer.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/jackson/ser/LocalDateTimeSerializer.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/jackson/ser/LocalDateTimeSerializer.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/jackson/ser/LocalDateTimeSerializer.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/lock4j/config/Lock4jConfiguration.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/lock4j/config/Lock4jConfiguration.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/lock4j/config/Lock4jConfiguration.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/lock4j/config/Lock4jConfiguration.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/lock4j/core/DefaultLockFailureStrategy.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/lock4j/core/DefaultLockFailureStrategy.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/lock4j/core/DefaultLockFailureStrategy.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/lock4j/core/DefaultLockFailureStrategy.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/lock4j/core/Lock4jRedisKeyConstants.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/lock4j/core/Lock4jRedisKeyConstants.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/lock4j/core/Lock4jRedisKeyConstants.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/lock4j/core/Lock4jRedisKeyConstants.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/lock4j/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/lock4j/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/lock4j/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/lock4j/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/logger/apilog/config/ApiLogConfiguration.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/apilog/config/ApiLogConfiguration.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/logger/apilog/config/ApiLogConfiguration.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/apilog/config/ApiLogConfiguration.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/logger/apilog/core/filter/ApiAccessLogFilter.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/apilog/core/filter/ApiAccessLogFilter.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/logger/apilog/core/filter/ApiAccessLogFilter.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/apilog/core/filter/ApiAccessLogFilter.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/logger/apilog/core/service/ApiAccessLogFrameworkService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/apilog/core/service/ApiAccessLogFrameworkService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/logger/apilog/core/service/ApiAccessLogFrameworkService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/apilog/core/service/ApiAccessLogFrameworkService.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/logger/apilog/core/service/ApiErrorLogFrameworkService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/apilog/core/service/ApiErrorLogFrameworkService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/logger/apilog/core/service/ApiErrorLogFrameworkService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/apilog/core/service/ApiErrorLogFrameworkService.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/logger/apilog/core/service/dto/ApiAccessLogCreateDTO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/apilog/core/service/dto/ApiAccessLogCreateDTO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/logger/apilog/core/service/dto/ApiAccessLogCreateDTO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/apilog/core/service/dto/ApiAccessLogCreateDTO.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/logger/apilog/core/service/dto/ApiErrorLogCreateDTO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/apilog/core/service/dto/ApiErrorLogCreateDTO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/logger/apilog/core/service/dto/ApiErrorLogCreateDTO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/apilog/core/service/dto/ApiErrorLogCreateDTO.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/config/OperateLogConfiguration.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/config/OperateLogConfiguration.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/config/OperateLogConfiguration.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/config/OperateLogConfiguration.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/annotations/OperateLog.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/annotations/OperateLog.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/annotations/OperateLog.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/annotations/OperateLog.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/aop/OperateLogAspect.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/aop/OperateLogAspect.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/aop/OperateLogAspect.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/aop/OperateLogAspect.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/enums/OperateTypeEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/enums/OperateTypeEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/enums/OperateTypeEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/enums/OperateTypeEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/service/OperateLogFrameworkService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/service/OperateLogFrameworkService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/service/OperateLogFrameworkService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/service/OperateLogFrameworkService.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/util/OperateLogUtils.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/util/OperateLogUtils.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/util/OperateLogUtils.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/operatelog/core/util/OperateLogUtils.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/logger/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/logger/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/logger/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/monitor/config/AdminServerConfiguration.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/monitor/config/AdminServerConfiguration.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/monitor/config/AdminServerConfiguration.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/monitor/config/AdminServerConfiguration.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/monitor/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/monitor/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/monitor/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/monitor/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/monitor/《芋道 Spring Boot 监控工具 Admin 入门》.md b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/monitor/《芋道 Spring Boot 监控工具 Admin 入门》.md
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/monitor/《芋道 Spring Boot 监控工具 Admin 入门》.md
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/monitor/《芋道 Spring Boot 监控工具 Admin 入门》.md
diff --git a/src/main/java/cn/iocoder/dashboard/framework/mybatis/config/MybatisConfiguration.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/mybatis/config/MybatisConfiguration.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/mybatis/config/MybatisConfiguration.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/mybatis/config/MybatisConfiguration.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/mybatis/core/dataobject/BaseDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/mybatis/core/dataobject/BaseDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/mybatis/core/dataobject/BaseDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/mybatis/core/dataobject/BaseDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/mybatis/core/handler/DefaultDBFieldHandler.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/mybatis/core/handler/DefaultDBFieldHandler.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/mybatis/core/handler/DefaultDBFieldHandler.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/mybatis/core/handler/DefaultDBFieldHandler.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/mybatis/core/mapper/BaseMapperX.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/mybatis/core/mapper/BaseMapperX.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/mybatis/core/mapper/BaseMapperX.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/mybatis/core/mapper/BaseMapperX.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/mybatis/core/query/QueryWrapperX.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/mybatis/core/query/QueryWrapperX.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/mybatis/core/query/QueryWrapperX.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/mybatis/core/query/QueryWrapperX.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/mybatis/core/type/JsonLongSetTypeHandler.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/mybatis/core/type/JsonLongSetTypeHandler.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/mybatis/core/type/JsonLongSetTypeHandler.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/mybatis/core/type/JsonLongSetTypeHandler.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/mybatis/core/util/MyBatisUtils.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/mybatis/core/util/MyBatisUtils.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/mybatis/core/util/MyBatisUtils.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/mybatis/core/util/MyBatisUtils.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/mybatis/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/mybatis/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/mybatis/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/mybatis/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/mybatis/《芋道 Spring Boot MyBatis 入门》.md b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/mybatis/《芋道 Spring Boot MyBatis 入门》.md
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/mybatis/《芋道 Spring Boot MyBatis 入门》.md
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/mybatis/《芋道 Spring Boot MyBatis 入门》.md
diff --git a/src/main/java/cn/iocoder/dashboard/framework/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/quartz/config/QuartzConfig.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/quartz/config/QuartzConfig.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/quartz/config/QuartzConfig.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/quartz/config/QuartzConfig.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/quartz/core/enums/JobDataKeyEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/quartz/core/enums/JobDataKeyEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/quartz/core/enums/JobDataKeyEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/quartz/core/enums/JobDataKeyEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/quartz/core/handler/JobHandler.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/quartz/core/handler/JobHandler.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/quartz/core/handler/JobHandler.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/quartz/core/handler/JobHandler.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/quartz/core/handler/JobHandlerInvoker.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/quartz/core/handler/JobHandlerInvoker.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/quartz/core/handler/JobHandlerInvoker.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/quartz/core/handler/JobHandlerInvoker.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/quartz/core/scheduler/SchedulerManager.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/quartz/core/scheduler/SchedulerManager.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/quartz/core/scheduler/SchedulerManager.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/quartz/core/scheduler/SchedulerManager.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/quartz/core/service/JobLogFrameworkService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/quartz/core/service/JobLogFrameworkService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/quartz/core/service/JobLogFrameworkService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/quartz/core/service/JobLogFrameworkService.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/quartz/core/util/CronUtils.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/quartz/core/util/CronUtils.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/quartz/core/util/CronUtils.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/quartz/core/util/CronUtils.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/quartz/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/quartz/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/quartz/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/quartz/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/quartz/《芋道 Spring Boot 定时任务入门》.md b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/quartz/《芋道 Spring Boot 定时任务入门》.md
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/quartz/《芋道 Spring Boot 定时任务入门》.md
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/quartz/《芋道 Spring Boot 定时任务入门》.md
diff --git a/src/main/java/cn/iocoder/dashboard/framework/redis/config/RedisConfig.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/redis/config/RedisConfig.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/redis/config/RedisConfig.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/redis/config/RedisConfig.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/redis/core/RedisKeyDefine.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/redis/core/RedisKeyDefine.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/redis/core/RedisKeyDefine.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/redis/core/RedisKeyDefine.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/redis/core/RedisKeyRegistry.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/redis/core/RedisKeyRegistry.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/redis/core/RedisKeyRegistry.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/redis/core/RedisKeyRegistry.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/redis/core/pubsub/AbstractChannelMessageListener.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/redis/core/pubsub/AbstractChannelMessageListener.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/redis/core/pubsub/AbstractChannelMessageListener.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/redis/core/pubsub/AbstractChannelMessageListener.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/redis/core/pubsub/ChannelMessage.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/redis/core/pubsub/ChannelMessage.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/redis/core/pubsub/ChannelMessage.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/redis/core/pubsub/ChannelMessage.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/redis/core/stream/AbstractStreamMessageListener.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/redis/core/stream/AbstractStreamMessageListener.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/redis/core/stream/AbstractStreamMessageListener.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/redis/core/stream/AbstractStreamMessageListener.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/redis/core/stream/StreamMessage.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/redis/core/stream/StreamMessage.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/redis/core/stream/StreamMessage.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/redis/core/stream/StreamMessage.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/redis/core/util/RedisMessageUtils.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/redis/core/util/RedisMessageUtils.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/redis/core/util/RedisMessageUtils.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/redis/core/util/RedisMessageUtils.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/redis/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/redis/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/redis/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/redis/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/redis/《芋道 Spring Boot Redis 入门》.md b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/redis/《芋道 Spring Boot Redis 入门》.md
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/redis/《芋道 Spring Boot Redis 入门》.md
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/redis/《芋道 Spring Boot Redis 入门》.md
diff --git a/src/main/java/cn/iocoder/dashboard/framework/resilience4j/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/resilience4j/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/resilience4j/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/resilience4j/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/resilience4j/《芋道 Spring Boot 服务容错 Resilience4j 入门》.md b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/resilience4j/《芋道 Spring Boot 服务容错 Resilience4j 入门》.md
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/resilience4j/《芋道 Spring Boot 服务容错 Resilience4j 入门》.md
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/resilience4j/《芋道 Spring Boot 服务容错 Resilience4j 入门》.md
diff --git a/src/main/java/cn/iocoder/dashboard/framework/security/config/SecurityConfiguration.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/config/SecurityConfiguration.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/security/config/SecurityConfiguration.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/config/SecurityConfiguration.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/security/config/SecurityProperties.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/config/SecurityProperties.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/security/config/SecurityProperties.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/config/SecurityProperties.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/security/core/LoginUser.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/core/LoginUser.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/security/core/LoginUser.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/core/LoginUser.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/security/core/enums/DataScopeEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/core/enums/DataScopeEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/security/core/enums/DataScopeEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/core/enums/DataScopeEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/security/core/filter/JwtAuthenticationTokenFilter.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/core/filter/JwtAuthenticationTokenFilter.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/security/core/filter/JwtAuthenticationTokenFilter.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/core/filter/JwtAuthenticationTokenFilter.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/security/core/handler/AccessDeniedHandlerImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/core/handler/AccessDeniedHandlerImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/security/core/handler/AccessDeniedHandlerImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/core/handler/AccessDeniedHandlerImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/security/core/handler/AuthenticationEntryPointImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/core/handler/AuthenticationEntryPointImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/security/core/handler/AuthenticationEntryPointImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/core/handler/AuthenticationEntryPointImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/security/core/handler/LogoutSuccessHandlerImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/core/handler/LogoutSuccessHandlerImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/security/core/handler/LogoutSuccessHandlerImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/core/handler/LogoutSuccessHandlerImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/security/core/service/SecurityAuthFrameworkService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/core/service/SecurityAuthFrameworkService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/security/core/service/SecurityAuthFrameworkService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/core/service/SecurityAuthFrameworkService.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/security/core/service/SecurityPermissionFrameworkService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/core/service/SecurityPermissionFrameworkService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/security/core/service/SecurityPermissionFrameworkService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/core/service/SecurityPermissionFrameworkService.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/security/core/util/SecurityFrameworkUtils.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/core/util/SecurityFrameworkUtils.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/security/core/util/SecurityFrameworkUtils.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/core/util/SecurityFrameworkUtils.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/security/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/security/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/security/《芋道 Spring Boot 安全框架 Spring Security 入门》.md b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/《芋道 Spring Boot 安全框架 Spring Security 入门》.md
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/security/《芋道 Spring Boot 安全框架 Spring Security 入门》.md
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/security/《芋道 Spring Boot 安全框架 Spring Security 入门》.md
diff --git a/src/main/java/cn/iocoder/dashboard/framework/sms/config/SmsConfiguration.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/config/SmsConfiguration.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/sms/config/SmsConfiguration.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/config/SmsConfiguration.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/SmsClient.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/SmsClient.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/sms/core/client/SmsClient.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/SmsClient.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/SmsClientFactory.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/SmsClientFactory.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/sms/core/client/SmsClientFactory.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/SmsClientFactory.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/SmsCodeMapping.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/SmsCodeMapping.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/sms/core/client/SmsCodeMapping.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/SmsCodeMapping.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/SmsCommonResult.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/SmsCommonResult.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/sms/core/client/SmsCommonResult.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/SmsCommonResult.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/dto/SmsReceiveRespDTO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/dto/SmsReceiveRespDTO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/sms/core/client/dto/SmsReceiveRespDTO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/dto/SmsReceiveRespDTO.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/dto/SmsSendRespDTO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/dto/SmsSendRespDTO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/sms/core/client/dto/SmsSendRespDTO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/dto/SmsSendRespDTO.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/dto/SmsTemplateRespDTO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/dto/SmsTemplateRespDTO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/sms/core/client/dto/SmsTemplateRespDTO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/dto/SmsTemplateRespDTO.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/AbstractSmsClient.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/AbstractSmsClient.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/AbstractSmsClient.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/AbstractSmsClient.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/SmsClientFactoryImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/SmsClientFactoryImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/SmsClientFactoryImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/SmsClientFactoryImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/aliyun/AliyunSmsClient.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/aliyun/AliyunSmsClient.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/aliyun/AliyunSmsClient.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/aliyun/AliyunSmsClient.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/aliyun/AliyunSmsCodeMapping.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/aliyun/AliyunSmsCodeMapping.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/aliyun/AliyunSmsCodeMapping.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/aliyun/AliyunSmsCodeMapping.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/debug/DebugDingTalkCodeMapping.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/debug/DebugDingTalkCodeMapping.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/debug/DebugDingTalkCodeMapping.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/debug/DebugDingTalkCodeMapping.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/debug/DebugDingTalkSmsClient.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/debug/DebugDingTalkSmsClient.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/debug/DebugDingTalkSmsClient.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/debug/DebugDingTalkSmsClient.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/yunpian/YunpianSmsClient.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/yunpian/YunpianSmsClient.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/yunpian/YunpianSmsClient.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/yunpian/YunpianSmsClient.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/yunpian/YunpianSmsCodeMapping.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/yunpian/YunpianSmsCodeMapping.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/yunpian/YunpianSmsCodeMapping.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/client/impl/yunpian/YunpianSmsCodeMapping.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/sms/core/enums/SmsChannelEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/enums/SmsChannelEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/sms/core/enums/SmsChannelEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/enums/SmsChannelEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/sms/core/enums/SmsFrameworkErrorCodeConstants.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/enums/SmsFrameworkErrorCodeConstants.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/sms/core/enums/SmsFrameworkErrorCodeConstants.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/enums/SmsFrameworkErrorCodeConstants.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/sms/core/enums/SmsTemplateAuditStatusEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/enums/SmsTemplateAuditStatusEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/sms/core/enums/SmsTemplateAuditStatusEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/enums/SmsTemplateAuditStatusEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/sms/core/property/SmsChannelProperties.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/property/SmsChannelProperties.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/sms/core/property/SmsChannelProperties.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/sms/core/property/SmsChannelProperties.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/swagger/config/SwaggerAutoConfiguration.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/swagger/config/SwaggerAutoConfiguration.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/swagger/config/SwaggerAutoConfiguration.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/swagger/config/SwaggerAutoConfiguration.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/swagger/config/SwaggerProperties.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/swagger/config/SwaggerProperties.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/swagger/config/SwaggerProperties.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/swagger/config/SwaggerProperties.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/swagger/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/swagger/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/swagger/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/swagger/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/swagger/《芋道 Spring Boot API 接口文档 Swagger 入门》.md b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/swagger/《芋道 Spring Boot API 接口文档 Swagger 入门》.md
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/swagger/《芋道 Spring Boot API 接口文档 Swagger 入门》.md
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/swagger/《芋道 Spring Boot API 接口文档 Swagger 入门》.md
diff --git a/src/main/java/cn/iocoder/dashboard/framework/tracer/config/TracerAutoConfiguration.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/tracer/config/TracerAutoConfiguration.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/tracer/config/TracerAutoConfiguration.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/tracer/config/TracerAutoConfiguration.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/tracer/config/TracerProperties.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/tracer/config/TracerProperties.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/tracer/config/TracerProperties.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/tracer/config/TracerProperties.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/tracer/core/annotation/BizTrace.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/tracer/core/annotation/BizTrace.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/tracer/core/annotation/BizTrace.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/tracer/core/annotation/BizTrace.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/tracer/core/aop/BizTraceAspect.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/tracer/core/aop/BizTraceAspect.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/tracer/core/aop/BizTraceAspect.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/tracer/core/aop/BizTraceAspect.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/tracer/core/filter/TraceFilter.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/tracer/core/filter/TraceFilter.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/tracer/core/filter/TraceFilter.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/tracer/core/filter/TraceFilter.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/tracer/core/util/TracerUtils.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/tracer/core/util/TracerUtils.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/tracer/core/util/TracerUtils.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/tracer/core/util/TracerUtils.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/tracer/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/tracer/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/tracer/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/tracer/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/tracer/《芋道 Spring Boot 链路追踪 SkyWalking 入门》.md b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/tracer/《芋道 Spring Boot 链路追踪 SkyWalking 入门》.md
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/tracer/《芋道 Spring Boot 链路追踪 SkyWalking 入门》.md
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/tracer/《芋道 Spring Boot 链路追踪 SkyWalking 入门》.md
diff --git a/src/main/java/cn/iocoder/dashboard/framework/validator/InEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/validator/InEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/validator/InEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/validator/InEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/validator/InEnumValidator.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/validator/InEnumValidator.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/validator/InEnumValidator.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/validator/InEnumValidator.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/validator/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/validator/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/validator/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/validator/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/validator/《芋道 Spring Boot 参数校验 Validation 入门》.md b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/validator/《芋道 Spring Boot 参数校验 Validation 入门》.md
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/validator/《芋道 Spring Boot 参数校验 Validation 入门》.md
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/validator/《芋道 Spring Boot 参数校验 Validation 入门》.md
diff --git a/src/main/java/cn/iocoder/dashboard/framework/web/config/WebConfiguration.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/config/WebConfiguration.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/web/config/WebConfiguration.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/config/WebConfiguration.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/web/config/WebProperties.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/config/WebProperties.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/web/config/WebProperties.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/config/WebProperties.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/web/config/XssProperties.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/config/XssProperties.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/web/config/XssProperties.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/config/XssProperties.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/web/core/enums/FilterOrderEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/core/enums/FilterOrderEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/web/core/enums/FilterOrderEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/core/enums/FilterOrderEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/web/core/filter/CacheRequestBodyFilter.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/core/filter/CacheRequestBodyFilter.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/web/core/filter/CacheRequestBodyFilter.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/core/filter/CacheRequestBodyFilter.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/web/core/filter/CacheRequestBodyWrapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/core/filter/CacheRequestBodyWrapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/web/core/filter/CacheRequestBodyWrapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/core/filter/CacheRequestBodyWrapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/web/core/filter/DemoFilter.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/core/filter/DemoFilter.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/web/core/filter/DemoFilter.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/core/filter/DemoFilter.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/web/core/filter/XssFilter.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/core/filter/XssFilter.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/web/core/filter/XssFilter.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/core/filter/XssFilter.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/web/core/filter/XssRequestWrapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/core/filter/XssRequestWrapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/web/core/filter/XssRequestWrapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/core/filter/XssRequestWrapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/web/core/handler/GlobalExceptionHandler.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/core/handler/GlobalExceptionHandler.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/web/core/handler/GlobalExceptionHandler.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/core/handler/GlobalExceptionHandler.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/web/core/handler/GlobalResponseBodyHandler.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/core/handler/GlobalResponseBodyHandler.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/web/core/handler/GlobalResponseBodyHandler.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/core/handler/GlobalResponseBodyHandler.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/web/core/util/WebFrameworkUtils.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/core/util/WebFrameworkUtils.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/web/core/util/WebFrameworkUtils.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/core/util/WebFrameworkUtils.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/web/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/web/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/framework/web/《芋道 Spring Boot SpringMVC 入门》.md b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/《芋道 Spring Boot SpringMVC 入门》.md
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/framework/web/《芋道 Spring Boot SpringMVC 入门》.md
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/framework/web/《芋道 Spring Boot SpringMVC 入门》.md
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/InfConfigController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/InfConfigController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/InfConfigController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/InfConfigController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigBaseVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigBaseVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigBaseVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigBaseVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigCreateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigCreateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigCreateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigCreateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigExcelVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigExcelVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigExcelVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigExcelVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigExportReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigExportReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigExportReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigExportReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigPageReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigPageReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigPageReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigPageReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigUpdateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigUpdateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigUpdateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/config/vo/InfConfigUpdateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/doc/InfDbDocController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/doc/InfDbDocController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/doc/InfDbDocController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/doc/InfDbDocController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/file/InfFileController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/file/InfFileController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/file/InfFileController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/file/InfFileController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/file/vo/InfFilePageReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/file/vo/InfFilePageReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/file/vo/InfFilePageReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/file/vo/InfFilePageReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/file/vo/InfFileRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/file/vo/InfFileRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/file/vo/InfFileRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/file/vo/InfFileRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/InfJobController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/InfJobController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/InfJobController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/InfJobController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/InfJobLogController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/InfJobLogController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/InfJobLogController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/InfJobLogController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobBaseVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobBaseVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobBaseVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobBaseVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobCreateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobCreateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobCreateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobCreateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobExcelVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobExcelVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobExcelVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobExcelVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobExportReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobExportReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobExportReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobExportReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobPageReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobPageReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobPageReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobPageReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobUpdateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobUpdateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobUpdateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/job/InfJobUpdateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/log/InfJobLogBaseVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/log/InfJobLogBaseVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/log/InfJobLogBaseVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/log/InfJobLogBaseVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/log/InfJobLogExcelVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/log/InfJobLogExcelVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/log/InfJobLogExcelVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/log/InfJobLogExcelVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/log/InfJobLogExportReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/log/InfJobLogExportReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/log/InfJobLogExportReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/log/InfJobLogExportReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/log/InfJobLogPageReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/log/InfJobLogPageReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/log/InfJobLogPageReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/log/InfJobLogPageReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/log/InfJobLogRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/log/InfJobLogRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/log/InfJobLogRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/job/vo/log/InfJobLogRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/InfApiAccessLogController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/InfApiAccessLogController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/InfApiAccessLogController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/InfApiAccessLogController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/InfApiErrorLogController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/InfApiErrorLogController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/InfApiErrorLogController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/InfApiErrorLogController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apiaccesslog/InfApiAccessLogBaseVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apiaccesslog/InfApiAccessLogBaseVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apiaccesslog/InfApiAccessLogBaseVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apiaccesslog/InfApiAccessLogBaseVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apiaccesslog/InfApiAccessLogExcelVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apiaccesslog/InfApiAccessLogExcelVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apiaccesslog/InfApiAccessLogExcelVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apiaccesslog/InfApiAccessLogExcelVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apiaccesslog/InfApiAccessLogExportReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apiaccesslog/InfApiAccessLogExportReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apiaccesslog/InfApiAccessLogExportReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apiaccesslog/InfApiAccessLogExportReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apiaccesslog/InfApiAccessLogPageReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apiaccesslog/InfApiAccessLogPageReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apiaccesslog/InfApiAccessLogPageReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apiaccesslog/InfApiAccessLogPageReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apiaccesslog/InfApiAccessLogRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apiaccesslog/InfApiAccessLogRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apiaccesslog/InfApiAccessLogRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apiaccesslog/InfApiAccessLogRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apierrorlog/InfApiErrorLogBaseVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apierrorlog/InfApiErrorLogBaseVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apierrorlog/InfApiErrorLogBaseVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apierrorlog/InfApiErrorLogBaseVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apierrorlog/InfApiErrorLogExcelVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apierrorlog/InfApiErrorLogExcelVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apierrorlog/InfApiErrorLogExcelVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apierrorlog/InfApiErrorLogExcelVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apierrorlog/InfApiErrorLogExportReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apierrorlog/InfApiErrorLogExportReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apierrorlog/InfApiErrorLogExportReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apierrorlog/InfApiErrorLogExportReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apierrorlog/InfApiErrorLogPageReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apierrorlog/InfApiErrorLogPageReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apierrorlog/InfApiErrorLogPageReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apierrorlog/InfApiErrorLogPageReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apierrorlog/InfApiErrorLogRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apierrorlog/InfApiErrorLogRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apierrorlog/InfApiErrorLogRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/logger/vo/apierrorlog/InfApiErrorLogRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/redis/RedisController.http b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/redis/RedisController.http
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/redis/RedisController.http
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/redis/RedisController.http
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/redis/RedisController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/redis/RedisController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/redis/RedisController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/redis/RedisController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/redis/vo/InfRedisKeyRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/redis/vo/InfRedisKeyRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/redis/vo/InfRedisKeyRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/redis/vo/InfRedisKeyRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/controller/redis/vo/InfRedisMonitorRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/redis/vo/InfRedisMonitorRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/controller/redis/vo/InfRedisMonitorRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/controller/redis/vo/InfRedisMonitorRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/convert/config/InfConfigConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/convert/config/InfConfigConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/convert/config/InfConfigConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/convert/config/InfConfigConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/convert/file/InfFileConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/convert/file/InfFileConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/convert/file/InfFileConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/convert/file/InfFileConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/convert/job/InfJobConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/convert/job/InfJobConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/convert/job/InfJobConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/convert/job/InfJobConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/convert/job/InfJobLogConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/convert/job/InfJobLogConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/convert/job/InfJobLogConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/convert/job/InfJobLogConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/convert/logger/InfApiAccessLogConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/convert/logger/InfApiAccessLogConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/convert/logger/InfApiAccessLogConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/convert/logger/InfApiAccessLogConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/convert/logger/InfApiErrorLogConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/convert/logger/InfApiErrorLogConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/convert/logger/InfApiErrorLogConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/convert/logger/InfApiErrorLogConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/convert/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/convert/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/convert/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/convert/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/convert/redis/RedisConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/convert/redis/RedisConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/convert/redis/RedisConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/convert/redis/RedisConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/convert/《芋道 Spring Boot 对象转换 MapStruct 入门》.md b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/convert/《芋道 Spring Boot 对象转换 MapStruct 入门》.md
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/convert/《芋道 Spring Boot 对象转换 MapStruct 入门》.md
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/convert/《芋道 Spring Boot 对象转换 MapStruct 入门》.md
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/config/InfConfigDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/config/InfConfigDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/config/InfConfigDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/config/InfConfigDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/file/InfFileDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/file/InfFileDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/file/InfFileDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/file/InfFileDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/job/InfJobDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/job/InfJobDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/job/InfJobDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/job/InfJobDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/job/InfJobLogDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/job/InfJobLogDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/job/InfJobLogDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/job/InfJobLogDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/logger/InfApiAccessLogDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/logger/InfApiAccessLogDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/logger/InfApiAccessLogDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/logger/InfApiAccessLogDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/logger/InfApiErrorLogDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/logger/InfApiErrorLogDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/logger/InfApiErrorLogDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/dataobject/logger/InfApiErrorLogDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/config/InfConfigDAOImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/config/InfConfigDAOImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/config/InfConfigDAOImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/config/InfConfigDAOImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/config/InfConfigMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/config/InfConfigMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/config/InfConfigMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/config/InfConfigMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/file/InfFileMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/file/InfFileMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/file/InfFileMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/file/InfFileMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/job/InfJobLogMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/job/InfJobLogMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/job/InfJobLogMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/job/InfJobLogMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/job/InfJobMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/job/InfJobMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/job/InfJobMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/job/InfJobMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/logger/InfApiAccessLogMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/logger/InfApiAccessLogMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/logger/InfApiAccessLogMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/logger/InfApiAccessLogMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/logger/InfApiErrorLogMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/logger/InfApiErrorLogMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/logger/InfApiErrorLogMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/dal/mysql/logger/InfApiErrorLogMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/enums/InfErrorCodeConstants.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/enums/InfErrorCodeConstants.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/enums/InfErrorCodeConstants.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/enums/InfErrorCodeConstants.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/enums/config/InfConfigTypeEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/enums/config/InfConfigTypeEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/enums/config/InfConfigTypeEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/enums/config/InfConfigTypeEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/enums/job/InfJobLogStatusEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/enums/job/InfJobLogStatusEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/enums/job/InfJobLogStatusEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/enums/job/InfJobLogStatusEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/enums/job/InfJobStatusEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/enums/job/InfJobStatusEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/enums/job/InfJobStatusEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/enums/job/InfJobStatusEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/enums/logger/InfApiErrorLogProcessStatusEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/enums/logger/InfApiErrorLogProcessStatusEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/enums/logger/InfApiErrorLogProcessStatusEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/enums/logger/InfApiErrorLogProcessStatusEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/mq/consumer/config/InfConfigRefreshConsumer.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/mq/consumer/config/InfConfigRefreshConsumer.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/mq/consumer/config/InfConfigRefreshConsumer.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/mq/consumer/config/InfConfigRefreshConsumer.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/mq/consumer/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/mq/consumer/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/mq/consumer/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/mq/consumer/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/mq/message/config/InfConfigRefreshMessage.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/mq/message/config/InfConfigRefreshMessage.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/mq/message/config/InfConfigRefreshMessage.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/mq/message/config/InfConfigRefreshMessage.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/mq/message/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/mq/message/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/mq/message/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/mq/message/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/mq/producer/config/InfConfigProducer.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/mq/producer/config/InfConfigProducer.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/mq/producer/config/InfConfigProducer.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/mq/producer/config/InfConfigProducer.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/mq/producer/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/mq/producer/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/mq/producer/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/mq/producer/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/service/config/InfConfigService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/config/InfConfigService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/service/config/InfConfigService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/config/InfConfigService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/service/config/impl/InfConfigServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/config/impl/InfConfigServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/service/config/impl/InfConfigServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/config/impl/InfConfigServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/service/file/InfFileService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/file/InfFileService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/service/file/InfFileService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/file/InfFileService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/service/file/impl/InfFileServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/file/impl/InfFileServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/service/file/impl/InfFileServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/file/impl/InfFileServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/service/job/InfJobLogService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/job/InfJobLogService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/service/job/InfJobLogService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/job/InfJobLogService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/service/job/InfJobService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/job/InfJobService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/service/job/InfJobService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/job/InfJobService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/service/job/impl/InfJobLogServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/job/impl/InfJobLogServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/service/job/impl/InfJobLogServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/job/impl/InfJobLogServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/service/job/impl/InfJobServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/job/impl/InfJobServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/service/job/impl/InfJobServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/job/impl/InfJobServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/service/logger/InfApiAccessLogService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/logger/InfApiAccessLogService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/service/logger/InfApiAccessLogService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/logger/InfApiAccessLogService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/service/logger/InfApiErrorLogService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/logger/InfApiErrorLogService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/service/logger/InfApiErrorLogService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/logger/InfApiErrorLogService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/service/logger/impl/InfApiAccessLogServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/logger/impl/InfApiAccessLogServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/service/logger/impl/InfApiAccessLogServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/logger/impl/InfApiAccessLogServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/infra/service/logger/impl/InfApiErrorLogServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/logger/impl/InfApiErrorLogServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/infra/service/logger/impl/InfApiErrorLogServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/infra/service/logger/impl/InfApiErrorLogServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/SysAuthController.http b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/SysAuthController.http
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/SysAuthController.http
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/SysAuthController.http
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/SysAuthController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/SysAuthController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/SysAuthController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/SysAuthController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/SysUserSessionController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/SysUserSessionController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/SysUserSessionController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/SysUserSessionController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/auth/SysAuthLoginReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/auth/SysAuthLoginReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/auth/SysAuthLoginReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/auth/SysAuthLoginReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/auth/SysAuthLoginRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/auth/SysAuthLoginRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/auth/SysAuthLoginRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/auth/SysAuthLoginRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/auth/SysAuthMenuRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/auth/SysAuthMenuRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/auth/SysAuthMenuRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/auth/SysAuthMenuRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/auth/SysAuthPermissionInfoRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/auth/SysAuthPermissionInfoRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/auth/SysAuthPermissionInfoRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/auth/SysAuthPermissionInfoRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/session/SysUserSessionPageItemRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/session/SysUserSessionPageItemRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/session/SysUserSessionPageItemRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/session/SysUserSessionPageItemRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/session/SysUserSessionPageReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/session/SysUserSessionPageReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/session/SysUserSessionPageReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/auth/vo/session/SysUserSessionPageReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/common/SysCaptchaController.http b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/common/SysCaptchaController.http
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/common/SysCaptchaController.http
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/common/SysCaptchaController.http
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/common/SysCaptchaController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/common/SysCaptchaController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/common/SysCaptchaController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/common/SysCaptchaController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/common/vo/SysCaptchaImageRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/common/vo/SysCaptchaImageRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/common/vo/SysCaptchaImageRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/common/vo/SysCaptchaImageRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/SysDeptController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/SysDeptController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/SysDeptController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/SysDeptController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/SysPostController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/SysPostController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/SysPostController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/SysPostController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptBaseVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptBaseVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptBaseVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptBaseVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptCreateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptCreateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptCreateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptCreateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptListReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptListReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptListReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptListReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptSimpleRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptSimpleRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptSimpleRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptSimpleRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptUpdateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptUpdateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptUpdateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/dept/SysDeptUpdateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostBaseVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostBaseVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostBaseVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostBaseVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostCreateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostCreateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostCreateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostCreateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostExcelVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostExcelVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostExcelVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostExcelVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostExportReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostExportReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostExportReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostExportReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostListReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostListReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostListReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostListReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostPageReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostPageReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostPageReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostPageReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostSimpleRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostSimpleRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostSimpleRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostSimpleRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostUpdateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostUpdateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostUpdateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dept/vo/post/SysPostUpdateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/SysDictDataController.http b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/SysDictDataController.http
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/SysDictDataController.http
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/SysDictDataController.http
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/SysDictDataController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/SysDictDataController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/SysDictDataController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/SysDictDataController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/SysDictTypeController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/SysDictTypeController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/SysDictTypeController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/SysDictTypeController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataBaseVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataBaseVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataBaseVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataBaseVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataCreateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataCreateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataCreateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataCreateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataExcelVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataExcelVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataExcelVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataExcelVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataExportReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataExportReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataExportReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataExportReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataPageReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataPageReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataPageReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataPageReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataSimpleRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataSimpleRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataSimpleRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataSimpleRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataUpdateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataUpdateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataUpdateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/data/SysDictDataUpdateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeBaseVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeBaseVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeBaseVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeBaseVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeCreateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeCreateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeCreateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeCreateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeExcelVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeExcelVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeExcelVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeExcelVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeExportReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeExportReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeExportReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeExportReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypePageReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypePageReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypePageReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypePageReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeSimpleRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeSimpleRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeSimpleRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeSimpleRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeUpdateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeUpdateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeUpdateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/dict/vo/type/SysDictTypeUpdateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/SysErrorCodeController.http b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/SysErrorCodeController.http
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/SysErrorCodeController.http
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/SysErrorCodeController.http
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/SysErrorCodeController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/SysErrorCodeController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/SysErrorCodeController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/SysErrorCodeController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeBaseVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeBaseVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeBaseVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeBaseVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeCreateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeCreateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeCreateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeCreateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeExcelVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeExcelVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeExcelVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeExcelVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeExportReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeExportReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeExportReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeExportReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodePageReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodePageReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodePageReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodePageReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeUpdateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeUpdateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeUpdateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/errorcode/vo/SysErrorCodeUpdateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/SysLoginLogController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/SysLoginLogController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/SysLoginLogController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/SysLoginLogController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/SysOperateLogController.http b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/SysOperateLogController.http
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/SysOperateLogController.http
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/SysOperateLogController.http
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/SysOperateLogController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/SysOperateLogController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/SysOperateLogController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/SysOperateLogController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogBaseVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogBaseVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogBaseVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogBaseVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogCreateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogCreateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogCreateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogCreateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogExcelVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogExcelVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogExcelVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogExcelVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogExportReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogExportReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogExportReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogExportReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogPageReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogPageReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogPageReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogPageReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/loginlog/SysLoginLogRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogBaseVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogBaseVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogBaseVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogBaseVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogCreateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogCreateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogCreateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogCreateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogExcelVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogExcelVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogExcelVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogExcelVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogExportReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogExportReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogExportReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogExportReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogPageReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogPageReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogPageReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogPageReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/logger/vo/operatelog/SysOperateLogRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/SysNoticeController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/SysNoticeController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/SysNoticeController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/SysNoticeController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/vo/SysNoticeBaseVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/vo/SysNoticeBaseVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/vo/SysNoticeBaseVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/vo/SysNoticeBaseVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/vo/SysNoticeCreateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/vo/SysNoticeCreateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/vo/SysNoticeCreateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/vo/SysNoticeCreateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/vo/SysNoticePageReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/vo/SysNoticePageReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/vo/SysNoticePageReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/vo/SysNoticePageReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/vo/SysNoticeRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/vo/SysNoticeRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/vo/SysNoticeRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/vo/SysNoticeRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/vo/SysNoticeUpdateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/vo/SysNoticeUpdateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/vo/SysNoticeUpdateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/notice/vo/SysNoticeUpdateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/SysMenuController.http b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/SysMenuController.http
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/SysMenuController.http
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/SysMenuController.http
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/SysMenuController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/SysMenuController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/SysMenuController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/SysMenuController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/SysPermissionController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/SysPermissionController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/SysPermissionController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/SysPermissionController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/SysRoleController.http b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/SysRoleController.http
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/SysRoleController.http
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/SysRoleController.http
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/SysRoleController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/SysRoleController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/SysRoleController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/SysRoleController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuBaseVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuBaseVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuBaseVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuBaseVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuCreateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuCreateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuCreateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuCreateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuListReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuListReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuListReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuListReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuSimpleRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuSimpleRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuSimpleRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuSimpleRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuUpdateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuUpdateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuUpdateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/menu/SysMenuUpdateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/permission/SysPermissionAssignRoleDataScopeReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/permission/SysPermissionAssignRoleDataScopeReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/permission/SysPermissionAssignRoleDataScopeReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/permission/SysPermissionAssignRoleDataScopeReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/permission/SysPermissionAssignRoleMenuReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/permission/SysPermissionAssignRoleMenuReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/permission/SysPermissionAssignRoleMenuReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/permission/SysPermissionAssignRoleMenuReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/permission/SysPermissionAssignUserRoleReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/permission/SysPermissionAssignUserRoleReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/permission/SysPermissionAssignUserRoleReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/permission/SysPermissionAssignUserRoleReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleBaseVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleBaseVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleBaseVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleBaseVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleCreateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleCreateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleCreateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleCreateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleExcelVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleExcelVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleExcelVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleExcelVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleExportReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleExportReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleExportReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleExportReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRolePageReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRolePageReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRolePageReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRolePageReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleSimpleRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleSimpleRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleSimpleRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleSimpleRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleUpdateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleUpdateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleUpdateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleUpdateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleUpdateStatusReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleUpdateStatusReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleUpdateStatusReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/permission/vo/role/SysRoleUpdateStatusReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/SmsCallbackController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/SmsCallbackController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/SmsCallbackController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/SmsCallbackController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/SysSmsChannelController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/SysSmsChannelController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/SysSmsChannelController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/SysSmsChannelController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/SysSmsLogController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/SysSmsLogController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/SysSmsLogController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/SysSmsLogController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/SysSmsTemplateController.http b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/SysSmsTemplateController.http
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/SysSmsTemplateController.http
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/SysSmsTemplateController.http
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/SysSmsTemplateController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/SysSmsTemplateController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/SysSmsTemplateController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/SysSmsTemplateController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelBaseVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelBaseVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelBaseVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelBaseVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelCreateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelCreateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelCreateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelCreateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelPageReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelPageReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelPageReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelPageReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelSimpleRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelSimpleRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelSimpleRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelSimpleRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelUpdateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelUpdateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelUpdateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/channel/SysSmsChannelUpdateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/log/SysSmsLogExcelVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/log/SysSmsLogExcelVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/log/SysSmsLogExcelVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/log/SysSmsLogExcelVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/log/SysSmsLogExportReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/log/SysSmsLogExportReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/log/SysSmsLogExportReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/log/SysSmsLogExportReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/log/SysSmsLogPageReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/log/SysSmsLogPageReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/log/SysSmsLogPageReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/log/SysSmsLogPageReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/log/SysSmsLogRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/log/SysSmsLogRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/log/SysSmsLogRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/log/SysSmsLogRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateBaseVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateBaseVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateBaseVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateBaseVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateCreateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateCreateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateCreateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateCreateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateExcelVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateExcelVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateExcelVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateExcelVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateExportReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateExportReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateExportReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateExportReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplatePageReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplatePageReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplatePageReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplatePageReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateSendReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateSendReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateSendReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateSendReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateUpdateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateUpdateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateUpdateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/sms/vo/template/SysSmsTemplateUpdateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/SysUserController.http b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/SysUserController.http
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/user/SysUserController.http
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/SysUserController.http
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/SysUserController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/SysUserController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/user/SysUserController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/SysUserController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/SysUserProfileController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/SysUserProfileController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/user/SysUserProfileController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/SysUserProfileController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/profile/SysUserProfileRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/profile/SysUserProfileRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/profile/SysUserProfileRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/profile/SysUserProfileRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/profile/SysUserProfileUpdatePasswordReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/profile/SysUserProfileUpdatePasswordReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/profile/SysUserProfileUpdatePasswordReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/profile/SysUserProfileUpdatePasswordReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/profile/SysUserProfileUpdateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/profile/SysUserProfileUpdateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/profile/SysUserProfileUpdateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/profile/SysUserProfileUpdateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserBaseVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserBaseVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserBaseVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserBaseVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserCreateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserCreateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserCreateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserCreateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserExcelVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserExcelVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserExcelVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserExcelVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserExportReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserExportReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserExportReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserExportReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserImportExcelVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserImportExcelVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserImportExcelVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserImportExcelVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserImportRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserImportRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserImportRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserImportRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserPageItemRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserPageItemRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserPageItemRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserPageItemRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserPageReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserPageReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserPageReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserPageReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserUpdatePasswordReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserUpdatePasswordReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserUpdatePasswordReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserUpdatePasswordReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserUpdateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserUpdateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserUpdateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserUpdateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserUpdateStatusReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserUpdateStatusReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserUpdateStatusReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/controller/user/vo/user/SysUserUpdateStatusReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/convert/auth/SysAuthConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/auth/SysAuthConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/convert/auth/SysAuthConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/auth/SysAuthConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/convert/auth/SysUserSessionConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/auth/SysUserSessionConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/convert/auth/SysUserSessionConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/auth/SysUserSessionConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/convert/common/SysCaptchaConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/common/SysCaptchaConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/convert/common/SysCaptchaConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/common/SysCaptchaConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/convert/dept/SysDeptConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/dept/SysDeptConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/convert/dept/SysDeptConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/dept/SysDeptConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/convert/dept/SysPostConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/dept/SysPostConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/convert/dept/SysPostConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/dept/SysPostConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/convert/dict/SysDictDataConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/dict/SysDictDataConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/convert/dict/SysDictDataConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/dict/SysDictDataConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/convert/dict/SysDictTypeConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/dict/SysDictTypeConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/convert/dict/SysDictTypeConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/dict/SysDictTypeConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/convert/errorcode/SysErrorCodeConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/errorcode/SysErrorCodeConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/convert/errorcode/SysErrorCodeConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/errorcode/SysErrorCodeConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/convert/logger/SysLoginLogConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/logger/SysLoginLogConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/convert/logger/SysLoginLogConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/logger/SysLoginLogConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/convert/logger/SysOperateLogConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/logger/SysOperateLogConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/convert/logger/SysOperateLogConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/logger/SysOperateLogConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/convert/notice/SysNoticeConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/notice/SysNoticeConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/convert/notice/SysNoticeConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/notice/SysNoticeConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/convert/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/convert/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/convert/permission/SysMenuConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/permission/SysMenuConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/convert/permission/SysMenuConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/permission/SysMenuConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/convert/permission/SysRoleConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/permission/SysRoleConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/convert/permission/SysRoleConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/permission/SysRoleConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/convert/sms/SysSmsChannelConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/sms/SysSmsChannelConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/convert/sms/SysSmsChannelConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/sms/SysSmsChannelConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/convert/sms/SysSmsLogConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/sms/SysSmsLogConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/convert/sms/SysSmsLogConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/sms/SysSmsLogConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/convert/sms/SysSmsTemplateConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/sms/SysSmsTemplateConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/convert/sms/SysSmsTemplateConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/sms/SysSmsTemplateConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/convert/user/SysUserConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/user/SysUserConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/convert/user/SysUserConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/user/SysUserConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/convert/《芋道 Spring Boot 对象转换 MapStruct 入门》.md b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/《芋道 Spring Boot 对象转换 MapStruct 入门》.md
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/convert/《芋道 Spring Boot 对象转换 MapStruct 入门》.md
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/convert/《芋道 Spring Boot 对象转换 MapStruct 入门》.md
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/auth/SysUserSessionDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/auth/SysUserSessionDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/auth/SysUserSessionDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/auth/SysUserSessionDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/dept/SysDeptDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/dept/SysDeptDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/dept/SysDeptDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/dept/SysDeptDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/dept/SysPostDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/dept/SysPostDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/dept/SysPostDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/dept/SysPostDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/dict/SysDictDataDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/dict/SysDictDataDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/dict/SysDictDataDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/dict/SysDictDataDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/dict/SysDictTypeDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/dict/SysDictTypeDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/dict/SysDictTypeDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/dict/SysDictTypeDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/errorcode/SysErrorCodeDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/errorcode/SysErrorCodeDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/errorcode/SysErrorCodeDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/errorcode/SysErrorCodeDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/logger/SysLoginLogDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/logger/SysLoginLogDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/logger/SysLoginLogDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/logger/SysLoginLogDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/logger/SysOperateLogDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/logger/SysOperateLogDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/logger/SysOperateLogDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/logger/SysOperateLogDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/notice/SysNoticeDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/notice/SysNoticeDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/notice/SysNoticeDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/notice/SysNoticeDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/permission/SysMenuDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/permission/SysMenuDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/permission/SysMenuDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/permission/SysMenuDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/permission/SysRoleDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/permission/SysRoleDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/permission/SysRoleDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/permission/SysRoleDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/permission/SysRoleMenuDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/permission/SysRoleMenuDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/permission/SysRoleMenuDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/permission/SysRoleMenuDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/permission/SysUserRoleDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/permission/SysUserRoleDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/permission/SysUserRoleDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/permission/SysUserRoleDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/sms/SysSmsChannelDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/sms/SysSmsChannelDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/sms/SysSmsChannelDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/sms/SysSmsChannelDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/sms/SysSmsLogDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/sms/SysSmsLogDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/sms/SysSmsLogDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/sms/SysSmsLogDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/sms/SysSmsTemplateDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/sms/SysSmsTemplateDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/sms/SysSmsTemplateDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/sms/SysSmsTemplateDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/user/SysUserDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/user/SysUserDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/user/SysUserDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/dataobject/user/SysUserDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/auth/SysUserSessionMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/auth/SysUserSessionMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/auth/SysUserSessionMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/auth/SysUserSessionMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/dept/SysDeptMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/dept/SysDeptMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/dept/SysDeptMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/dept/SysDeptMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/dept/SysPostMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/dept/SysPostMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/dept/SysPostMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/dept/SysPostMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/dict/SysDictDataMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/dict/SysDictDataMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/dict/SysDictDataMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/dict/SysDictDataMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/dict/SysDictTypeMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/dict/SysDictTypeMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/dict/SysDictTypeMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/dict/SysDictTypeMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/errorcode/SysErrorCodeMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/errorcode/SysErrorCodeMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/errorcode/SysErrorCodeMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/errorcode/SysErrorCodeMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/logger/SysLoginLogMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/logger/SysLoginLogMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/logger/SysLoginLogMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/logger/SysLoginLogMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/logger/SysOperateLogMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/logger/SysOperateLogMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/logger/SysOperateLogMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/logger/SysOperateLogMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/notice/SysNoticeMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/notice/SysNoticeMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/notice/SysNoticeMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/notice/SysNoticeMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/permission/SysMenuMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/permission/SysMenuMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/permission/SysMenuMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/permission/SysMenuMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/permission/SysRoleMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/permission/SysRoleMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/permission/SysRoleMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/permission/SysRoleMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/permission/SysRoleMenuMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/permission/SysRoleMenuMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/permission/SysRoleMenuMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/permission/SysRoleMenuMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/permission/SysUserRoleMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/permission/SysUserRoleMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/permission/SysUserRoleMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/permission/SysUserRoleMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/sms/SysSmsChannelMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/sms/SysSmsChannelMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/sms/SysSmsChannelMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/sms/SysSmsChannelMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/sms/SysSmsLogMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/sms/SysSmsLogMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/sms/SysSmsLogMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/sms/SysSmsLogMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/sms/SysSmsTemplateMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/sms/SysSmsTemplateMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/sms/SysSmsTemplateMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/sms/SysSmsTemplateMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/user/SysUserMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/user/SysUserMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/user/SysUserMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/mysql/user/SysUserMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/redis/RedisKeyConstants.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/redis/RedisKeyConstants.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/redis/RedisKeyConstants.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/redis/RedisKeyConstants.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/redis/SysRedisKeyConstants.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/redis/SysRedisKeyConstants.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/redis/SysRedisKeyConstants.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/redis/SysRedisKeyConstants.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/redis/auth/SysLoginUserRedisDAO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/redis/auth/SysLoginUserRedisDAO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/redis/auth/SysLoginUserRedisDAO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/redis/auth/SysLoginUserRedisDAO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/dal/redis/common/SysCaptchaRedisDAO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/redis/common/SysCaptchaRedisDAO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/dal/redis/common/SysCaptchaRedisDAO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/dal/redis/common/SysCaptchaRedisDAO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/enums/SysErrorCodeConstants.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/SysErrorCodeConstants.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/enums/SysErrorCodeConstants.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/SysErrorCodeConstants.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/enums/common/SysSexEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/common/SysSexEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/enums/common/SysSexEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/common/SysSexEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/enums/dept/DeptIdEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/dept/DeptIdEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/enums/dept/DeptIdEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/dept/DeptIdEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/enums/dict/SysDictTypeEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/dict/SysDictTypeEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/enums/dict/SysDictTypeEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/dict/SysDictTypeEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/enums/errorcode/SysErrorCodeTypeEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/errorcode/SysErrorCodeTypeEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/enums/errorcode/SysErrorCodeTypeEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/errorcode/SysErrorCodeTypeEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/enums/logger/SysLoginLogTypeEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/logger/SysLoginLogTypeEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/enums/logger/SysLoginLogTypeEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/logger/SysLoginLogTypeEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/enums/logger/SysLoginResultEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/logger/SysLoginResultEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/enums/logger/SysLoginResultEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/logger/SysLoginResultEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/enums/notice/SysNoticeTypeEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/notice/SysNoticeTypeEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/enums/notice/SysNoticeTypeEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/notice/SysNoticeTypeEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/enums/permission/MenuIdEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/permission/MenuIdEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/enums/permission/MenuIdEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/permission/MenuIdEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/enums/permission/MenuTypeEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/permission/MenuTypeEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/enums/permission/MenuTypeEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/permission/MenuTypeEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/enums/permission/RoleCodeEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/permission/RoleCodeEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/enums/permission/RoleCodeEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/permission/RoleCodeEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/enums/permission/SysRoleTypeEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/permission/SysRoleTypeEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/enums/permission/SysRoleTypeEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/permission/SysRoleTypeEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/enums/sms/SysSmsReceiveStatusEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/sms/SysSmsReceiveStatusEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/enums/sms/SysSmsReceiveStatusEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/sms/SysSmsReceiveStatusEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/enums/sms/SysSmsSendStatusEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/sms/SysSmsSendStatusEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/enums/sms/SysSmsSendStatusEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/sms/SysSmsSendStatusEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/enums/sms/SysSmsTemplateTypeEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/sms/SysSmsTemplateTypeEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/enums/sms/SysSmsTemplateTypeEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/enums/sms/SysSmsTemplateTypeEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/job/auth/SysUserSessionTimeoutJob.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/job/auth/SysUserSessionTimeoutJob.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/job/auth/SysUserSessionTimeoutJob.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/job/auth/SysUserSessionTimeoutJob.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/job/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/job/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/job/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/job/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/dept/SysDeptRefreshConsumer.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/dept/SysDeptRefreshConsumer.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/dept/SysDeptRefreshConsumer.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/dept/SysDeptRefreshConsumer.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/dict/SysDictDataRefreshConsumer.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/dict/SysDictDataRefreshConsumer.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/dict/SysDictDataRefreshConsumer.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/dict/SysDictDataRefreshConsumer.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/mail/SysMailSendConsumer.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/mail/SysMailSendConsumer.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/mail/SysMailSendConsumer.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/mail/SysMailSendConsumer.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/permission/SysMenuRefreshConsumer.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/permission/SysMenuRefreshConsumer.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/permission/SysMenuRefreshConsumer.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/permission/SysMenuRefreshConsumer.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/permission/SysRoleMenuRefreshConsumer.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/permission/SysRoleMenuRefreshConsumer.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/permission/SysRoleMenuRefreshConsumer.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/permission/SysRoleMenuRefreshConsumer.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/permission/SysRoleRefreshConsumer.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/permission/SysRoleRefreshConsumer.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/permission/SysRoleRefreshConsumer.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/permission/SysRoleRefreshConsumer.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/sms/SysSmsChannelRefreshConsumer.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/sms/SysSmsChannelRefreshConsumer.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/sms/SysSmsChannelRefreshConsumer.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/sms/SysSmsChannelRefreshConsumer.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/sms/SysSmsSendConsumer.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/sms/SysSmsSendConsumer.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/sms/SysSmsSendConsumer.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/sms/SysSmsSendConsumer.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/sms/SysSmsTemplateRefreshConsumer.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/sms/SysSmsTemplateRefreshConsumer.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/sms/SysSmsTemplateRefreshConsumer.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/consumer/sms/SysSmsTemplateRefreshConsumer.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/dept/SysDeptRefreshMessage.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/dept/SysDeptRefreshMessage.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/message/dept/SysDeptRefreshMessage.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/dept/SysDeptRefreshMessage.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/dict/SysDictDataRefreshMessage.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/dict/SysDictDataRefreshMessage.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/message/dict/SysDictDataRefreshMessage.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/dict/SysDictDataRefreshMessage.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/mail/SysMailSendMessage.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/mail/SysMailSendMessage.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/message/mail/SysMailSendMessage.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/mail/SysMailSendMessage.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/permission/SysMenuRefreshMessage.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/permission/SysMenuRefreshMessage.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/message/permission/SysMenuRefreshMessage.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/permission/SysMenuRefreshMessage.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/permission/SysRoleMenuRefreshMessage.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/permission/SysRoleMenuRefreshMessage.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/message/permission/SysRoleMenuRefreshMessage.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/permission/SysRoleMenuRefreshMessage.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/permission/SysRoleRefreshMessage.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/permission/SysRoleRefreshMessage.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/message/permission/SysRoleRefreshMessage.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/permission/SysRoleRefreshMessage.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/sms/SysSmsChannelRefreshMessage.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/sms/SysSmsChannelRefreshMessage.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/message/sms/SysSmsChannelRefreshMessage.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/sms/SysSmsChannelRefreshMessage.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/sms/SysSmsSendMessage.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/sms/SysSmsSendMessage.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/message/sms/SysSmsSendMessage.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/sms/SysSmsSendMessage.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/sms/SysSmsTemplateRefreshMessage.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/sms/SysSmsTemplateRefreshMessage.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/message/sms/SysSmsTemplateRefreshMessage.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/message/sms/SysSmsTemplateRefreshMessage.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/dept/SysDeptProducer.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/dept/SysDeptProducer.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/dept/SysDeptProducer.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/dept/SysDeptProducer.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/dict/SysDictDataProducer.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/dict/SysDictDataProducer.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/dict/SysDictDataProducer.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/dict/SysDictDataProducer.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/permission/SysMenuProducer.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/permission/SysMenuProducer.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/permission/SysMenuProducer.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/permission/SysMenuProducer.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/permission/SysPermissionProducer.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/permission/SysPermissionProducer.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/permission/SysPermissionProducer.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/permission/SysPermissionProducer.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/permission/SysRoleProducer.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/permission/SysRoleProducer.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/permission/SysRoleProducer.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/permission/SysRoleProducer.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/sms/SysSmsProducer.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/sms/SysSmsProducer.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/sms/SysSmsProducer.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/mq/producer/sms/SysSmsProducer.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/auth/SysAuthService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/auth/SysAuthService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/auth/SysAuthService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/auth/SysAuthService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/auth/SysUserSessionService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/auth/SysUserSessionService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/auth/SysUserSessionService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/auth/SysUserSessionService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/auth/impl/SysAuthServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/auth/impl/SysAuthServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/auth/impl/SysAuthServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/auth/impl/SysAuthServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/auth/impl/SysUserSessionServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/auth/impl/SysUserSessionServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/auth/impl/SysUserSessionServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/auth/impl/SysUserSessionServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/common/SysCaptchaService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/common/SysCaptchaService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/common/SysCaptchaService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/common/SysCaptchaService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/common/impl/SysCaptchaServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/common/impl/SysCaptchaServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/common/impl/SysCaptchaServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/common/impl/SysCaptchaServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/dept/SysDeptService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/dept/SysDeptService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/dept/SysDeptService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/dept/SysDeptService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/dept/SysPostService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/dept/SysPostService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/dept/SysPostService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/dept/SysPostService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/dept/impl/SysDeptServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/dept/impl/SysDeptServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/dept/impl/SysDeptServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/dept/impl/SysDeptServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/dept/impl/SysPostServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/dept/impl/SysPostServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/dept/impl/SysPostServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/dept/impl/SysPostServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/dict/SysDictDataService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/dict/SysDictDataService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/dict/SysDictDataService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/dict/SysDictDataService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/dict/SysDictTypeService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/dict/SysDictTypeService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/dict/SysDictTypeService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/dict/SysDictTypeService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/dict/impl/SysDictDataServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/dict/impl/SysDictDataServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/dict/impl/SysDictDataServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/dict/impl/SysDictDataServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/dict/impl/SysDictTypeServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/dict/impl/SysDictTypeServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/dict/impl/SysDictTypeServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/dict/impl/SysDictTypeServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/errorcode/SysErrorCodeService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/errorcode/SysErrorCodeService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/errorcode/SysErrorCodeService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/errorcode/SysErrorCodeService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/errorcode/impl/SysErrorCodeServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/errorcode/impl/SysErrorCodeServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/errorcode/impl/SysErrorCodeServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/errorcode/impl/SysErrorCodeServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/logger/SysLoginLogService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/logger/SysLoginLogService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/logger/SysLoginLogService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/logger/SysLoginLogService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/logger/SysOperateLogService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/logger/SysOperateLogService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/logger/SysOperateLogService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/logger/SysOperateLogService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/logger/impl/SysLoginLogServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/logger/impl/SysLoginLogServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/logger/impl/SysLoginLogServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/logger/impl/SysLoginLogServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/logger/impl/SysOperateLogServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/logger/impl/SysOperateLogServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/logger/impl/SysOperateLogServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/logger/impl/SysOperateLogServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/notice/SysNoticeService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/notice/SysNoticeService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/notice/SysNoticeService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/notice/SysNoticeService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/notice/impl/SysNoticeServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/notice/impl/SysNoticeServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/notice/impl/SysNoticeServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/notice/impl/SysNoticeServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/permission/SysMenuService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/permission/SysMenuService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/permission/SysMenuService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/permission/SysMenuService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/permission/SysPermissionService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/permission/SysPermissionService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/permission/SysPermissionService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/permission/SysPermissionService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/permission/SysRoleService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/permission/SysRoleService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/permission/SysRoleService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/permission/SysRoleService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/permission/impl/SysMenuServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/permission/impl/SysMenuServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/permission/impl/SysMenuServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/permission/impl/SysMenuServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/permission/impl/SysPermissionServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/permission/impl/SysPermissionServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/permission/impl/SysPermissionServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/permission/impl/SysPermissionServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/permission/impl/SysRoleServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/permission/impl/SysRoleServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/permission/impl/SysRoleServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/permission/impl/SysRoleServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsChannelService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsChannelService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsChannelService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsChannelService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsLogService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsLogService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsLogService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsLogService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsTemplateService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsTemplateService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsTemplateService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsTemplateService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/impl/SysSmsChannelServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/impl/SysSmsChannelServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/sms/impl/SysSmsChannelServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/impl/SysSmsChannelServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/impl/SysSmsLogServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/impl/SysSmsLogServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/sms/impl/SysSmsLogServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/impl/SysSmsLogServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/impl/SysSmsServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/impl/SysSmsServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/sms/impl/SysSmsServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/impl/SysSmsServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/impl/SysSmsTemplateServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/impl/SysSmsTemplateServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/sms/impl/SysSmsTemplateServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/sms/impl/SysSmsTemplateServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/user/SysUserService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/user/SysUserService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/user/SysUserService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/user/SysUserService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/system/service/user/SysUserServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/user/SysUserServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/system/service/user/SysUserServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/system/service/user/SysUserServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/ToolCodegenController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/ToolCodegenController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/ToolCodegenController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/ToolCodegenController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/ToolCodegenDetailRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/ToolCodegenDetailRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/ToolCodegenDetailRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/ToolCodegenDetailRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/ToolCodegenPreviewRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/ToolCodegenPreviewRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/ToolCodegenPreviewRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/ToolCodegenPreviewRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/ToolCodegenUpdateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/ToolCodegenUpdateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/ToolCodegenUpdateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/ToolCodegenUpdateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/column/ToolCodegenColumnBaseVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/column/ToolCodegenColumnBaseVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/column/ToolCodegenColumnBaseVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/column/ToolCodegenColumnBaseVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/column/ToolCodegenColumnRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/column/ToolCodegenColumnRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/column/ToolCodegenColumnRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/column/ToolCodegenColumnRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/table/ToolCodegenTableBaseVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/table/ToolCodegenTableBaseVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/table/ToolCodegenTableBaseVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/table/ToolCodegenTableBaseVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/table/ToolCodegenTablePageReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/table/ToolCodegenTablePageReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/table/ToolCodegenTablePageReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/table/ToolCodegenTablePageReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/table/ToolCodegenTableRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/table/ToolCodegenTableRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/table/ToolCodegenTableRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/table/ToolCodegenTableRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/table/ToolSchemaTableRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/table/ToolSchemaTableRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/table/ToolSchemaTableRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/codegen/vo/table/ToolSchemaTableRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/ToolTestDemoController.http b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/ToolTestDemoController.http
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/ToolTestDemoController.http
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/ToolTestDemoController.http
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/ToolTestDemoController.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/ToolTestDemoController.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/ToolTestDemoController.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/ToolTestDemoController.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoBaseVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoBaseVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoBaseVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoBaseVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoCreateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoCreateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoCreateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoCreateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoExcelVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoExcelVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoExcelVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoExcelVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoExportReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoExportReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoExportReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoExportReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoPageReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoPageReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoPageReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoPageReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoRespVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoRespVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoRespVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoRespVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoUpdateReqVO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoUpdateReqVO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoUpdateReqVO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/controller/test/vo/ToolTestDemoUpdateReqVO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/convert/codegen/ToolCodegenConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/convert/codegen/ToolCodegenConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/convert/codegen/ToolCodegenConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/convert/codegen/ToolCodegenConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/convert/test/ToolTestDemoConvert.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/convert/test/ToolTestDemoConvert.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/convert/test/ToolTestDemoConvert.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/convert/test/ToolTestDemoConvert.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolCodegenColumnDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolCodegenColumnDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolCodegenColumnDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolCodegenColumnDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolCodegenTableDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolCodegenTableDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolCodegenTableDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolCodegenTableDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolSchemaColumnDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolSchemaColumnDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolSchemaColumnDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolSchemaColumnDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolSchemaTableDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolSchemaTableDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolSchemaTableDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/codegen/ToolSchemaTableDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/test/ToolTestDemoDO.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/test/ToolTestDemoDO.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/test/ToolTestDemoDO.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/dal/dataobject/test/ToolTestDemoDO.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolCodegenColumnMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolCodegenColumnMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolCodegenColumnMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolCodegenColumnMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolCodegenTableMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolCodegenTableMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolCodegenTableMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolCodegenTableMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolSchemaColumnMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolSchemaColumnMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolSchemaColumnMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolSchemaColumnMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolSchemaTableMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolSchemaTableMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolSchemaTableMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolSchemaTableMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/dal/mysql/test/ToolTestDemoMapper.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/dal/mysql/test/ToolTestDemoMapper.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/dal/mysql/test/ToolTestDemoMapper.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/dal/mysql/test/ToolTestDemoMapper.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/enums/ToolErrorCodeConstants.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/enums/ToolErrorCodeConstants.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/enums/ToolErrorCodeConstants.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/enums/ToolErrorCodeConstants.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/enums/codegen/ToolCodegenColumnHtmlTypeEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/enums/codegen/ToolCodegenColumnHtmlTypeEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/enums/codegen/ToolCodegenColumnHtmlTypeEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/enums/codegen/ToolCodegenColumnHtmlTypeEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/enums/codegen/ToolCodegenColumnListConditionEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/enums/codegen/ToolCodegenColumnListConditionEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/enums/codegen/ToolCodegenColumnListConditionEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/enums/codegen/ToolCodegenColumnListConditionEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/enums/codegen/ToolCodegenImportTypeEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/enums/codegen/ToolCodegenImportTypeEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/enums/codegen/ToolCodegenImportTypeEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/enums/codegen/ToolCodegenImportTypeEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/enums/codegen/ToolCodegenTemplateTypeEnum.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/enums/codegen/ToolCodegenTemplateTypeEnum.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/enums/codegen/ToolCodegenTemplateTypeEnum.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/enums/codegen/ToolCodegenTemplateTypeEnum.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/service/codegen/ToolCodegenService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/service/codegen/ToolCodegenService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/service/codegen/ToolCodegenService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/service/codegen/ToolCodegenService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/service/codegen/impl/ToolCodegenBuilder.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/service/codegen/impl/ToolCodegenBuilder.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/service/codegen/impl/ToolCodegenBuilder.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/service/codegen/impl/ToolCodegenBuilder.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/service/codegen/impl/ToolCodegenEngine.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/service/codegen/impl/ToolCodegenEngine.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/service/codegen/impl/ToolCodegenEngine.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/service/codegen/impl/ToolCodegenEngine.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/service/codegen/impl/ToolCodegenSQLParser.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/service/codegen/impl/ToolCodegenSQLParser.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/service/codegen/impl/ToolCodegenSQLParser.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/service/codegen/impl/ToolCodegenSQLParser.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/service/codegen/impl/ToolCodegenServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/service/codegen/impl/ToolCodegenServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/service/codegen/impl/ToolCodegenServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/service/codegen/impl/ToolCodegenServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/service/test/ToolTestDemoService.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/service/test/ToolTestDemoService.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/service/test/ToolTestDemoService.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/service/test/ToolTestDemoService.java
diff --git a/src/main/java/cn/iocoder/dashboard/modules/tool/service/test/impl/ToolTestDemoServiceImpl.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/service/test/impl/ToolTestDemoServiceImpl.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/modules/tool/service/test/impl/ToolTestDemoServiceImpl.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/modules/tool/service/test/impl/ToolTestDemoServiceImpl.java
diff --git a/src/main/java/cn/iocoder/dashboard/util/collection/ArrayUtils.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/collection/ArrayUtils.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/util/collection/ArrayUtils.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/collection/ArrayUtils.java
diff --git a/src/main/java/cn/iocoder/dashboard/util/collection/CollectionUtils.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/collection/CollectionUtils.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/util/collection/CollectionUtils.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/collection/CollectionUtils.java
diff --git a/src/main/java/cn/iocoder/dashboard/util/collection/MapUtils.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/collection/MapUtils.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/util/collection/MapUtils.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/collection/MapUtils.java
diff --git a/src/main/java/cn/iocoder/dashboard/util/collection/SetUtils.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/collection/SetUtils.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/util/collection/SetUtils.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/collection/SetUtils.java
diff --git a/src/main/java/cn/iocoder/dashboard/util/date/DateUtils.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/date/DateUtils.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/util/date/DateUtils.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/date/DateUtils.java
diff --git a/src/main/java/cn/iocoder/dashboard/util/json/JsonUtils.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/json/JsonUtils.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/util/json/JsonUtils.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/json/JsonUtils.java
diff --git a/src/main/java/cn/iocoder/dashboard/util/object/ObjectUtils.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/object/ObjectUtils.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/util/object/ObjectUtils.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/object/ObjectUtils.java
diff --git a/src/main/java/cn/iocoder/dashboard/util/package-info.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/package-info.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/util/package-info.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/package-info.java
diff --git a/src/main/java/cn/iocoder/dashboard/util/servlet/ServletUtils.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/servlet/ServletUtils.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/util/servlet/ServletUtils.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/servlet/ServletUtils.java
diff --git a/src/main/java/cn/iocoder/dashboard/util/sping/SpringAopUtils.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/sping/SpringAopUtils.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/util/sping/SpringAopUtils.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/sping/SpringAopUtils.java
diff --git a/src/main/java/cn/iocoder/dashboard/util/sping/SpringExpressionUtils.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/sping/SpringExpressionUtils.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/util/sping/SpringExpressionUtils.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/sping/SpringExpressionUtils.java
diff --git a/src/main/java/cn/iocoder/dashboard/util/string/StrUtils.java b/yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/string/StrUtils.java
similarity index 100%
rename from src/main/java/cn/iocoder/dashboard/util/string/StrUtils.java
rename to yudao-admin-server/src/main/java/cn/iocoder/dashboard/util/string/StrUtils.java
diff --git a/src/main/resources/META-INF/services/com.ctrip.framework.apollo.internals.Injector b/yudao-admin-server/src/main/resources/META-INF/services/com.ctrip.framework.apollo.internals.Injector
similarity index 100%
rename from src/main/resources/META-INF/services/com.ctrip.framework.apollo.internals.Injector
rename to yudao-admin-server/src/main/resources/META-INF/services/com.ctrip.framework.apollo.internals.Injector
diff --git a/src/main/resources/META-INF/spring.factories b/yudao-admin-server/src/main/resources/META-INF/spring.factories
similarity index 100%
rename from src/main/resources/META-INF/spring.factories
rename to yudao-admin-server/src/main/resources/META-INF/spring.factories
diff --git a/src/main/resources/application-dev.yaml b/yudao-admin-server/src/main/resources/application-dev.yaml
similarity index 100%
rename from src/main/resources/application-dev.yaml
rename to yudao-admin-server/src/main/resources/application-dev.yaml
diff --git a/src/main/resources/application-local.yaml b/yudao-admin-server/src/main/resources/application-local.yaml
similarity index 100%
rename from src/main/resources/application-local.yaml
rename to yudao-admin-server/src/main/resources/application-local.yaml
diff --git a/src/main/resources/application.yaml b/yudao-admin-server/src/main/resources/application.yaml
similarity index 100%
rename from src/main/resources/application.yaml
rename to yudao-admin-server/src/main/resources/application.yaml
diff --git a/src/main/resources/banner.txt b/yudao-admin-server/src/main/resources/banner.txt
similarity index 100%
rename from src/main/resources/banner.txt
rename to yudao-admin-server/src/main/resources/banner.txt
diff --git a/src/main/resources/codegen/java/controller/controller.vm b/yudao-admin-server/src/main/resources/codegen/java/controller/controller.vm
similarity index 100%
rename from src/main/resources/codegen/java/controller/controller.vm
rename to yudao-admin-server/src/main/resources/codegen/java/controller/controller.vm
diff --git a/src/main/resources/codegen/java/controller/vo/_column.vm b/yudao-admin-server/src/main/resources/codegen/java/controller/vo/_column.vm
similarity index 100%
rename from src/main/resources/codegen/java/controller/vo/_column.vm
rename to yudao-admin-server/src/main/resources/codegen/java/controller/vo/_column.vm
diff --git a/src/main/resources/codegen/java/controller/vo/baseVO.vm b/yudao-admin-server/src/main/resources/codegen/java/controller/vo/baseVO.vm
similarity index 100%
rename from src/main/resources/codegen/java/controller/vo/baseVO.vm
rename to yudao-admin-server/src/main/resources/codegen/java/controller/vo/baseVO.vm
diff --git a/src/main/resources/codegen/java/controller/vo/createReqVO.vm b/yudao-admin-server/src/main/resources/codegen/java/controller/vo/createReqVO.vm
similarity index 100%
rename from src/main/resources/codegen/java/controller/vo/createReqVO.vm
rename to yudao-admin-server/src/main/resources/codegen/java/controller/vo/createReqVO.vm
diff --git a/src/main/resources/codegen/java/controller/vo/excelVO.vm b/yudao-admin-server/src/main/resources/codegen/java/controller/vo/excelVO.vm
similarity index 100%
rename from src/main/resources/codegen/java/controller/vo/excelVO.vm
rename to yudao-admin-server/src/main/resources/codegen/java/controller/vo/excelVO.vm
diff --git a/src/main/resources/codegen/java/controller/vo/exportReqVO.vm b/yudao-admin-server/src/main/resources/codegen/java/controller/vo/exportReqVO.vm
similarity index 100%
rename from src/main/resources/codegen/java/controller/vo/exportReqVO.vm
rename to yudao-admin-server/src/main/resources/codegen/java/controller/vo/exportReqVO.vm
diff --git a/src/main/resources/codegen/java/controller/vo/pageReqVO.vm b/yudao-admin-server/src/main/resources/codegen/java/controller/vo/pageReqVO.vm
similarity index 100%
rename from src/main/resources/codegen/java/controller/vo/pageReqVO.vm
rename to yudao-admin-server/src/main/resources/codegen/java/controller/vo/pageReqVO.vm
diff --git a/src/main/resources/codegen/java/controller/vo/respVO.vm b/yudao-admin-server/src/main/resources/codegen/java/controller/vo/respVO.vm
similarity index 100%
rename from src/main/resources/codegen/java/controller/vo/respVO.vm
rename to yudao-admin-server/src/main/resources/codegen/java/controller/vo/respVO.vm
diff --git a/src/main/resources/codegen/java/controller/vo/updateReqVO.vm b/yudao-admin-server/src/main/resources/codegen/java/controller/vo/updateReqVO.vm
similarity index 100%
rename from src/main/resources/codegen/java/controller/vo/updateReqVO.vm
rename to yudao-admin-server/src/main/resources/codegen/java/controller/vo/updateReqVO.vm
diff --git a/src/main/resources/codegen/java/convert/convert.vm b/yudao-admin-server/src/main/resources/codegen/java/convert/convert.vm
similarity index 100%
rename from src/main/resources/codegen/java/convert/convert.vm
rename to yudao-admin-server/src/main/resources/codegen/java/convert/convert.vm
diff --git a/src/main/resources/codegen/java/dal/do.vm b/yudao-admin-server/src/main/resources/codegen/java/dal/do.vm
similarity index 100%
rename from src/main/resources/codegen/java/dal/do.vm
rename to yudao-admin-server/src/main/resources/codegen/java/dal/do.vm
diff --git a/src/main/resources/codegen/java/dal/mapper.vm b/yudao-admin-server/src/main/resources/codegen/java/dal/mapper.vm
similarity index 100%
rename from src/main/resources/codegen/java/dal/mapper.vm
rename to yudao-admin-server/src/main/resources/codegen/java/dal/mapper.vm
diff --git a/src/main/resources/codegen/java/enums/errorcode.vm b/yudao-admin-server/src/main/resources/codegen/java/enums/errorcode.vm
similarity index 100%
rename from src/main/resources/codegen/java/enums/errorcode.vm
rename to yudao-admin-server/src/main/resources/codegen/java/enums/errorcode.vm
diff --git a/src/main/resources/codegen/java/service/service.vm b/yudao-admin-server/src/main/resources/codegen/java/service/service.vm
similarity index 100%
rename from src/main/resources/codegen/java/service/service.vm
rename to yudao-admin-server/src/main/resources/codegen/java/service/service.vm
diff --git a/src/main/resources/codegen/java/service/serviceImpl.vm b/yudao-admin-server/src/main/resources/codegen/java/service/serviceImpl.vm
similarity index 100%
rename from src/main/resources/codegen/java/service/serviceImpl.vm
rename to yudao-admin-server/src/main/resources/codegen/java/service/serviceImpl.vm
diff --git a/src/main/resources/codegen/java/test/serviceTest.vm b/yudao-admin-server/src/main/resources/codegen/java/test/serviceTest.vm
similarity index 100%
rename from src/main/resources/codegen/java/test/serviceTest.vm
rename to yudao-admin-server/src/main/resources/codegen/java/test/serviceTest.vm
diff --git a/src/main/resources/codegen/sql/sql.vm b/yudao-admin-server/src/main/resources/codegen/sql/sql.vm
similarity index 100%
rename from src/main/resources/codegen/sql/sql.vm
rename to yudao-admin-server/src/main/resources/codegen/sql/sql.vm
diff --git a/src/main/resources/codegen/vue/api/api.js.vm b/yudao-admin-server/src/main/resources/codegen/vue/api/api.js.vm
similarity index 100%
rename from src/main/resources/codegen/vue/api/api.js.vm
rename to yudao-admin-server/src/main/resources/codegen/vue/api/api.js.vm
diff --git a/src/main/resources/codegen/vue/views/index.vue.vm b/yudao-admin-server/src/main/resources/codegen/vue/views/index.vue.vm
similarity index 100%
rename from src/main/resources/codegen/vue/views/index.vue.vm
rename to yudao-admin-server/src/main/resources/codegen/vue/views/index.vue.vm
diff --git a/src/main/resources/logback-spring.xml b/yudao-admin-server/src/main/resources/logback-spring.xml
similarity index 100%
rename from src/main/resources/logback-spring.xml
rename to yudao-admin-server/src/main/resources/logback-spring.xml
diff --git a/src/test-integration/java/cn/iocoder/dashboard/BaseDbAndRedisIntegrationTest.java b/yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/BaseDbAndRedisIntegrationTest.java
similarity index 100%
rename from src/test-integration/java/cn/iocoder/dashboard/BaseDbAndRedisIntegrationTest.java
rename to yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/BaseDbAndRedisIntegrationTest.java
diff --git a/src/test-integration/java/cn/iocoder/dashboard/BaseRedisIntegrationTest.java b/yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/BaseRedisIntegrationTest.java
similarity index 100%
rename from src/test-integration/java/cn/iocoder/dashboard/BaseRedisIntegrationTest.java
rename to yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/BaseRedisIntegrationTest.java
diff --git a/src/test-integration/java/cn/iocoder/dashboard/framework/quartz/core/SchedulerManagerTest.java b/yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/framework/quartz/core/SchedulerManagerTest.java
similarity index 100%
rename from src/test-integration/java/cn/iocoder/dashboard/framework/quartz/core/SchedulerManagerTest.java
rename to yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/framework/quartz/core/SchedulerManagerTest.java
diff --git a/src/test-integration/java/cn/iocoder/dashboard/framework/redis/core/stream/RedisStreamTest.java b/yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/framework/redis/core/stream/RedisStreamTest.java
similarity index 100%
rename from src/test-integration/java/cn/iocoder/dashboard/framework/redis/core/stream/RedisStreamTest.java
rename to yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/framework/redis/core/stream/RedisStreamTest.java
diff --git a/src/test-integration/java/cn/iocoder/dashboard/framework/sms/core/client/impl/aliyun/AliyunSmsClientIntegrationTest.java b/yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/framework/sms/core/client/impl/aliyun/AliyunSmsClientIntegrationTest.java
similarity index 100%
rename from src/test-integration/java/cn/iocoder/dashboard/framework/sms/core/client/impl/aliyun/AliyunSmsClientIntegrationTest.java
rename to yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/framework/sms/core/client/impl/aliyun/AliyunSmsClientIntegrationTest.java
diff --git a/src/test-integration/java/cn/iocoder/dashboard/framework/sms/core/client/impl/debug/DebugDingTalkSmsClientIntegrationTest.java b/yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/framework/sms/core/client/impl/debug/DebugDingTalkSmsClientIntegrationTest.java
similarity index 100%
rename from src/test-integration/java/cn/iocoder/dashboard/framework/sms/core/client/impl/debug/DebugDingTalkSmsClientIntegrationTest.java
rename to yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/framework/sms/core/client/impl/debug/DebugDingTalkSmsClientIntegrationTest.java
diff --git a/src/test-integration/java/cn/iocoder/dashboard/framework/sms/core/client/impl/yunpian/YunpianSmsClientIntegrationTest.java b/yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/framework/sms/core/client/impl/yunpian/YunpianSmsClientIntegrationTest.java
similarity index 100%
rename from src/test-integration/java/cn/iocoder/dashboard/framework/sms/core/client/impl/yunpian/YunpianSmsClientIntegrationTest.java
rename to yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/framework/sms/core/client/impl/yunpian/YunpianSmsClientIntegrationTest.java
diff --git a/src/test-integration/java/cn/iocoder/dashboard/framework/sms/core/client/package-info.java b/yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/framework/sms/core/client/package-info.java
similarity index 100%
rename from src/test-integration/java/cn/iocoder/dashboard/framework/sms/core/client/package-info.java
rename to yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/framework/sms/core/client/package-info.java
diff --git a/src/test-integration/java/cn/iocoder/dashboard/modules/system/service/package-info.java b/yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/modules/system/service/package-info.java
similarity index 100%
rename from src/test-integration/java/cn/iocoder/dashboard/modules/system/service/package-info.java
rename to yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/modules/system/service/package-info.java
diff --git a/src/test-integration/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsServiceIntegrationTest.java b/yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsServiceIntegrationTest.java
similarity index 100%
rename from src/test-integration/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsServiceIntegrationTest.java
rename to yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsServiceIntegrationTest.java
diff --git a/src/test-integration/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolInformationSchemaColumnMapperTest.java b/yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolInformationSchemaColumnMapperTest.java
similarity index 100%
rename from src/test-integration/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolInformationSchemaColumnMapperTest.java
rename to yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolInformationSchemaColumnMapperTest.java
diff --git a/src/test-integration/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolInformationSchemaTableMapperTest.java b/yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolInformationSchemaTableMapperTest.java
similarity index 100%
rename from src/test-integration/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolInformationSchemaTableMapperTest.java
rename to yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/modules/tool/dal/mysql/codegen/ToolInformationSchemaTableMapperTest.java
diff --git a/src/test-integration/java/cn/iocoder/dashboard/modules/tool/service/codegen/ToolCodegenEngineTest.java b/yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/modules/tool/service/codegen/ToolCodegenEngineTest.java
similarity index 100%
rename from src/test-integration/java/cn/iocoder/dashboard/modules/tool/service/codegen/ToolCodegenEngineTest.java
rename to yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/modules/tool/service/codegen/ToolCodegenEngineTest.java
diff --git a/src/test-integration/java/cn/iocoder/dashboard/modules/tool/service/codegen/ToolCodegenSQLParserTest.java b/yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/modules/tool/service/codegen/ToolCodegenSQLParserTest.java
similarity index 100%
rename from src/test-integration/java/cn/iocoder/dashboard/modules/tool/service/codegen/ToolCodegenSQLParserTest.java
rename to yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/modules/tool/service/codegen/ToolCodegenSQLParserTest.java
diff --git a/src/test-integration/java/cn/iocoder/dashboard/modules/tool/service/codegen/ToolCodegenServiceImplTest.java b/yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/modules/tool/service/codegen/ToolCodegenServiceImplTest.java
similarity index 100%
rename from src/test-integration/java/cn/iocoder/dashboard/modules/tool/service/codegen/ToolCodegenServiceImplTest.java
rename to yudao-admin-server/src/test-integration/java/cn/iocoder/dashboard/modules/tool/service/codegen/ToolCodegenServiceImplTest.java
diff --git a/src/test-integration/resources/application-integration-test.yaml b/yudao-admin-server/src/test-integration/resources/application-integration-test.yaml
similarity index 100%
rename from src/test-integration/resources/application-integration-test.yaml
rename to yudao-admin-server/src/test-integration/resources/application-integration-test.yaml
diff --git a/src/test/java/cn/iocoder/dashboard/BaseDbAndRedisUnitTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/BaseDbAndRedisUnitTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/BaseDbAndRedisUnitTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/BaseDbAndRedisUnitTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/BaseDbUnitTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/BaseDbUnitTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/BaseDbUnitTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/BaseDbUnitTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/BaseMockitoUnitTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/BaseMockitoUnitTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/BaseMockitoUnitTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/BaseMockitoUnitTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/BaseRedisUnitTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/BaseRedisUnitTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/BaseRedisUnitTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/BaseRedisUnitTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/config/QuartzTestConfiguration.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/config/QuartzTestConfiguration.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/config/QuartzTestConfiguration.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/config/QuartzTestConfiguration.java
diff --git a/src/test/java/cn/iocoder/dashboard/config/RedisTestConfiguration.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/config/RedisTestConfiguration.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/config/RedisTestConfiguration.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/config/RedisTestConfiguration.java
diff --git a/src/test/java/cn/iocoder/dashboard/framework/package-info.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/framework/package-info.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/framework/package-info.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/framework/package-info.java
diff --git a/src/test/java/cn/iocoder/dashboard/framework/sms/core/client/impl/aliyun/AliyunSmsClientTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/framework/sms/core/client/impl/aliyun/AliyunSmsClientTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/framework/sms/core/client/impl/aliyun/AliyunSmsClientTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/framework/sms/core/client/impl/aliyun/AliyunSmsClientTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/framework/sms/core/client/impl/aliyun/AliyunSmsCodeMappingTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/framework/sms/core/client/impl/aliyun/AliyunSmsCodeMappingTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/framework/sms/core/client/impl/aliyun/AliyunSmsCodeMappingTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/framework/sms/core/client/impl/aliyun/AliyunSmsCodeMappingTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/framework/sms/core/client/impl/yunpian/YunpianSmsClientTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/framework/sms/core/client/impl/yunpian/YunpianSmsClientTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/framework/sms/core/client/impl/yunpian/YunpianSmsClientTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/framework/sms/core/client/impl/yunpian/YunpianSmsClientTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/framework/sms/core/client/impl/yunpian/YunpianSmsCodeMappingTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/framework/sms/core/client/impl/yunpian/YunpianSmsCodeMappingTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/framework/sms/core/client/impl/yunpian/YunpianSmsCodeMappingTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/framework/sms/core/client/impl/yunpian/YunpianSmsCodeMappingTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/infra/service/config/InfConfigServiceTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/infra/service/config/InfConfigServiceTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/infra/service/config/InfConfigServiceTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/infra/service/config/InfConfigServiceTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/infra/service/file/InfFileServiceTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/infra/service/file/InfFileServiceTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/infra/service/file/InfFileServiceTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/infra/service/file/InfFileServiceTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/infra/service/job/InfJobLogServiceTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/infra/service/job/InfJobLogServiceTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/infra/service/job/InfJobLogServiceTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/infra/service/job/InfJobLogServiceTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/infra/service/job/InfJobServiceTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/infra/service/job/InfJobServiceTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/infra/service/job/InfJobServiceTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/infra/service/job/InfJobServiceTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/infra/service/logger/InfApiAccessLogServiceImplTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/infra/service/logger/InfApiAccessLogServiceImplTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/infra/service/logger/InfApiAccessLogServiceImplTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/infra/service/logger/InfApiAccessLogServiceImplTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/infra/service/logger/InfApiErrorLogServiceImplTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/infra/service/logger/InfApiErrorLogServiceImplTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/infra/service/logger/InfApiErrorLogServiceImplTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/infra/service/logger/InfApiErrorLogServiceImplTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/system/service/auth/SysAuthServiceImplTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/auth/SysAuthServiceImplTest.java
similarity index 97%
rename from src/test/java/cn/iocoder/dashboard/modules/system/service/auth/SysAuthServiceImplTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/auth/SysAuthServiceImplTest.java
index 7f923677e..baccf727d 100644
--- a/src/test/java/cn/iocoder/dashboard/modules/system/service/auth/SysAuthServiceImplTest.java
+++ b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/auth/SysAuthServiceImplTest.java
@@ -1,269 +1,269 @@
-package cn.iocoder.dashboard.modules.system.service.auth;
-
-import cn.iocoder.dashboard.BaseDbUnitTest;
-import cn.iocoder.dashboard.common.enums.CommonStatusEnum;
-import cn.iocoder.dashboard.framework.security.core.LoginUser;
-import cn.iocoder.dashboard.modules.system.controller.auth.vo.auth.SysAuthLoginReqVO;
-import cn.iocoder.dashboard.modules.system.dal.dataobject.user.SysUserDO;
-import cn.iocoder.dashboard.modules.system.enums.logger.SysLoginLogTypeEnum;
-import cn.iocoder.dashboard.modules.system.enums.logger.SysLoginResultEnum;
-import cn.iocoder.dashboard.modules.system.service.auth.impl.SysAuthServiceImpl;
-import cn.iocoder.dashboard.modules.system.service.common.SysCaptchaService;
-import cn.iocoder.dashboard.modules.system.service.logger.SysLoginLogService;
-import cn.iocoder.dashboard.modules.system.service.permission.SysPermissionService;
-import cn.iocoder.dashboard.modules.system.service.user.SysUserService;
-import cn.iocoder.dashboard.util.AssertUtils;
-import org.junit.jupiter.api.Test;
-import org.springframework.boot.test.mock.mockito.MockBean;
-import org.springframework.context.annotation.Import;
-import org.springframework.security.authentication.AuthenticationManager;
-import org.springframework.security.authentication.BadCredentialsException;
-import org.springframework.security.authentication.DisabledException;
-import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
-import org.springframework.security.core.Authentication;
-import org.springframework.security.core.AuthenticationException;
-import org.springframework.security.core.userdetails.UsernameNotFoundException;
-
-import javax.annotation.Resource;
-import java.util.Set;
-
-import static cn.iocoder.dashboard.modules.system.enums.SysErrorCodeConstants.*;
-import static cn.iocoder.dashboard.util.AssertUtils.assertServiceException;
-import static cn.iocoder.dashboard.util.RandomUtils.*;
-import static java.util.Collections.singleton;
-import static org.junit.jupiter.api.Assertions.*;
-import static org.mockito.ArgumentMatchers.eq;
-import static org.mockito.Mockito.*;
-
-/**
- * {@link SysAuthServiceImpl} 的单元测试
- *
- * @author 芋道源码
- */
-@Import(SysAuthServiceImpl.class)
-public class SysAuthServiceImplTest extends BaseDbUnitTest {
-
- @Resource
- private SysAuthServiceImpl authService;
-
- @MockBean
- private SysUserService userService;
- @MockBean
- private SysPermissionService permissionService;
- @MockBean
- private AuthenticationManager authenticationManager;
- @MockBean
- private Authentication authentication;
- @MockBean
- private SysCaptchaService captchaService;
- @MockBean
- private SysLoginLogService loginLogService;
- @MockBean
- private SysUserSessionService userSessionService;
-
- @Test
- public void testLoadUserByUsername_success() {
- // 准备参数
- String username = randomString();
- // mock 方法
- SysUserDO user = randomUserDO(o -> o.setUsername(username));
- when(userService.getUserByUsername(eq(username))).thenReturn(user);
-
- // 调用
- LoginUser loginUser = (LoginUser) authService.loadUserByUsername(username);
- // 校验
- AssertUtils.assertPojoEquals(user, loginUser, "updateTime");
- assertNull(loginUser.getRoleIds()); // 此时不会加载角色,所以是空的
- }
-
- @Test
- public void testLoadUserByUsername_userNotFound() {
- // 准备参数
- String username = randomString();
- // mock 方法
-
- // 调用, 并断言异常
- assertThrows(UsernameNotFoundException.class, // 抛出 UsernameNotFoundException 异常
- () -> authService.loadUserByUsername(username),
- username); // 异常提示为 username
- }
-
- @Test
- public void testMockLogin_success() {
- // 准备参数
- Long userId = randomLongId();
- // mock 方法 01
- SysUserDO user = randomUserDO(o -> o.setId(userId));
- when(userService.getUser(eq(userId))).thenReturn(user);
- // mock 方法 02
- Set roleIds = randomSet(Long.class);
- when(permissionService.getUserRoleIds(eq(userId), eq(singleton(CommonStatusEnum.ENABLE.getStatus()))))
- .thenReturn(roleIds);
-
- // 调用
- LoginUser loginUser = authService.mockLogin(userId);
- // 断言
- AssertUtils.assertPojoEquals(user, loginUser, "updateTime");
- assertEquals(roleIds, loginUser.getRoleIds());
- }
-
- @Test
- public void testMockLogin_userNotFound() {
- // 准备参数
- Long userId = randomLongId();
- // mock 方法
-
- // 调用, 并断言异常
- assertThrows(UsernameNotFoundException.class, // 抛出 UsernameNotFoundException 异常
- () -> authService.mockLogin(userId),
- String.valueOf(userId)); // 异常提示为 userId
- }
-
- @Test
- public void testLogin_captchaNotFound() {
- // 准备参数
- SysAuthLoginReqVO reqVO = randomPojo(SysAuthLoginReqVO.class);
- String userIp = randomString();
- String userAgent = randomString();
- // 调用, 并断言异常
- assertServiceException(() -> authService.login(reqVO, userIp, userAgent), AUTH_LOGIN_CAPTCHA_NOT_FOUND);
- // 校验调用参数
- verify(loginLogService, times(1)).createLoginLog(
- argThat(o -> o.getLogType().equals(SysLoginLogTypeEnum.LOGIN_USERNAME.getType())
- && o.getResult().equals(SysLoginResultEnum.CAPTCHA_NOT_FOUND.getResult()))
- );
- }
-
- @Test
- public void testLogin_captchaCodeError() {
- // 准备参数
- String userIp = randomString();
- String userAgent = randomString();
- String code = randomString();
- SysAuthLoginReqVO reqVO = randomPojo(SysAuthLoginReqVO.class);
- // mock 验证码不正确
- when(captchaService.getCaptchaCode(reqVO.getUuid())).thenReturn(code);
- // 调用, 并断言异常
- assertServiceException(() -> authService.login(reqVO, userIp, userAgent), AUTH_LOGIN_CAPTCHA_CODE_ERROR);
- // 校验调用参数
- verify(loginLogService, times(1)).createLoginLog(
- argThat(o -> o.getLogType().equals(SysLoginLogTypeEnum.LOGIN_USERNAME.getType())
- && o.getResult().equals(SysLoginResultEnum.CAPTCHA_CODE_ERROR.getResult()))
- );
- }
-
- @Test
- public void testLogin_badCredentials() {
- // 准备参数
- String userIp = randomString();
- String userAgent = randomString();
- SysAuthLoginReqVO reqVO = randomPojo(SysAuthLoginReqVO.class);
- // mock 验证码正确
- when(captchaService.getCaptchaCode(reqVO.getUuid())).thenReturn(reqVO.getCode());
- // mock 抛出异常
- when(authenticationManager.authenticate(new UsernamePasswordAuthenticationToken(reqVO.getUsername(), reqVO.getPassword())))
- .thenThrow(new BadCredentialsException("测试账号或密码不正确"));
- // 调用, 并断言异常
- assertServiceException(() -> authService.login(reqVO, userIp, userAgent), AUTH_LOGIN_BAD_CREDENTIALS);
- // 校验调用参数
- verify(captchaService, times(1)).deleteCaptchaCode(reqVO.getUuid());
- verify(loginLogService, times(1)).createLoginLog(
- argThat(o -> o.getLogType().equals(SysLoginLogTypeEnum.LOGIN_USERNAME.getType())
- && o.getResult().equals(SysLoginResultEnum.BAD_CREDENTIALS.getResult()))
- );
- }
-
- @Test
- public void testLogin_userDisabled() {
- // 准备参数
- String userIp = randomString();
- String userAgent = randomString();
- SysAuthLoginReqVO reqVO = randomPojo(SysAuthLoginReqVO.class);
- // mock 验证码正确
- when(captchaService.getCaptchaCode(reqVO.getUuid())).thenReturn(reqVO.getCode());
- // mock 抛出异常
- when(authenticationManager.authenticate(new UsernamePasswordAuthenticationToken(reqVO.getUsername(), reqVO.getPassword())))
- .thenThrow(new DisabledException("测试用户被禁用"));
- // 调用, 并断言异常
- assertServiceException(() -> authService.login(reqVO, userIp, userAgent), AUTH_LOGIN_USER_DISABLED);
- // 校验调用参数
- verify(captchaService, times(1)).deleteCaptchaCode(reqVO.getUuid());
- verify(loginLogService, times(1)).createLoginLog(
- argThat(o -> o.getLogType().equals(SysLoginLogTypeEnum.LOGIN_USERNAME.getType())
- && o.getResult().equals(SysLoginResultEnum.USER_DISABLED.getResult()))
- );
- }
-
- @Test
- public void testLogin_unknownError() {
- // 准备参数
- String userIp = randomString();
- String userAgent = randomString();
- SysAuthLoginReqVO reqVO = randomPojo(SysAuthLoginReqVO.class);
- // mock 验证码正确
- when(captchaService.getCaptchaCode(reqVO.getUuid())).thenReturn(reqVO.getCode());
- // mock 抛出异常
- when(authenticationManager.authenticate(new UsernamePasswordAuthenticationToken(reqVO.getUsername(), reqVO.getPassword())))
- .thenThrow(new AuthenticationException("测试未知异常") {});
- // 调用, 并断言异常
- assertServiceException(() -> authService.login(reqVO, userIp, userAgent), AUTH_LOGIN_FAIL_UNKNOWN);
- // 校验调用参数
- verify(captchaService, times(1)).deleteCaptchaCode(reqVO.getUuid());
- verify(loginLogService, times(1)).createLoginLog(
- argThat(o -> o.getLogType().equals(SysLoginLogTypeEnum.LOGIN_USERNAME.getType())
- && o.getResult().equals(SysLoginResultEnum.UNKNOWN_ERROR.getResult()))
- );
- }
-
- @Test
- public void testLogin_success() {
- // 准备参数
- String userIp = randomString();
- String userAgent = randomString();
- Long userId = randomLongId();
- Set userRoleIds = randomSet(Long.class);
- String sessionId = randomString();
- SysAuthLoginReqVO reqVO = randomPojo(SysAuthLoginReqVO.class);
- LoginUser loginUser = randomPojo(LoginUser.class, o -> {
- o.setId(userId);
- o.setRoleIds(userRoleIds);
- });
- // mock 验证码正确
- when(captchaService.getCaptchaCode(reqVO.getUuid())).thenReturn(reqVO.getCode());
- // mock authentication
- when(authenticationManager.authenticate(new UsernamePasswordAuthenticationToken(reqVO.getUsername(), reqVO.getPassword())))
- .thenReturn(authentication);
- when(authentication.getPrincipal()).thenReturn(loginUser);
- // mock 获得 User 拥有的角色编号数组
- when(permissionService.getUserRoleIds(userId, singleton(CommonStatusEnum.ENABLE.getStatus()))).thenReturn(userRoleIds);
- // mock 缓存登陆用户到 Redis
- when(userSessionService.createUserSession(loginUser, userIp, userAgent)).thenReturn(sessionId);
- // 调用, 并断言异常
- String login = authService.login(reqVO, userIp, userAgent);
- assertEquals(sessionId, login);
- // 校验调用参数
- verify(captchaService, times(1)).deleteCaptchaCode(reqVO.getUuid());
- verify(loginLogService, times(1)).createLoginLog(
- argThat(o -> o.getLogType().equals(SysLoginLogTypeEnum.LOGIN_USERNAME.getType())
- && o.getResult().equals(SysLoginResultEnum.SUCCESS.getResult()))
- );
- }
-
- @Test
- public void testLogout_success() {
- // 准备参数
- String token = randomString();
- LoginUser loginUser = randomPojo(LoginUser.class);
- // mock
- when(userSessionService.getLoginUser(token)).thenReturn(loginUser);
- // 调用
- authService.logout(token);
- // 校验调用参数
- verify(userSessionService, times(1)).deleteUserSession(token);
- verify(loginLogService, times(1)).createLoginLog(
- argThat(o -> o.getLogType().equals(SysLoginLogTypeEnum.LOGOUT_SELF.getType())
- && o.getResult().equals(SysLoginResultEnum.SUCCESS.getResult()))
- );
- }
-
-}
+package cn.iocoder.dashboard.modules.system.service.auth;
+
+import cn.iocoder.dashboard.BaseDbUnitTest;
+import cn.iocoder.dashboard.common.enums.CommonStatusEnum;
+import cn.iocoder.dashboard.framework.security.core.LoginUser;
+import cn.iocoder.dashboard.modules.system.controller.auth.vo.auth.SysAuthLoginReqVO;
+import cn.iocoder.dashboard.modules.system.dal.dataobject.user.SysUserDO;
+import cn.iocoder.dashboard.modules.system.enums.logger.SysLoginLogTypeEnum;
+import cn.iocoder.dashboard.modules.system.enums.logger.SysLoginResultEnum;
+import cn.iocoder.dashboard.modules.system.service.auth.impl.SysAuthServiceImpl;
+import cn.iocoder.dashboard.modules.system.service.common.SysCaptchaService;
+import cn.iocoder.dashboard.modules.system.service.logger.SysLoginLogService;
+import cn.iocoder.dashboard.modules.system.service.permission.SysPermissionService;
+import cn.iocoder.dashboard.modules.system.service.user.SysUserService;
+import cn.iocoder.dashboard.util.AssertUtils;
+import org.junit.jupiter.api.Test;
+import org.springframework.boot.test.mock.mockito.MockBean;
+import org.springframework.context.annotation.Import;
+import org.springframework.security.authentication.AuthenticationManager;
+import org.springframework.security.authentication.BadCredentialsException;
+import org.springframework.security.authentication.DisabledException;
+import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
+import org.springframework.security.core.Authentication;
+import org.springframework.security.core.AuthenticationException;
+import org.springframework.security.core.userdetails.UsernameNotFoundException;
+
+import javax.annotation.Resource;
+import java.util.Set;
+
+import static cn.iocoder.dashboard.modules.system.enums.SysErrorCodeConstants.*;
+import static cn.iocoder.dashboard.util.AssertUtils.assertServiceException;
+import static cn.iocoder.dashboard.util.RandomUtils.*;
+import static java.util.Collections.singleton;
+import static org.junit.jupiter.api.Assertions.*;
+import static org.mockito.ArgumentMatchers.eq;
+import static org.mockito.Mockito.*;
+
+/**
+ * {@link SysAuthServiceImpl} 的单元测试
+ *
+ * @author 芋道源码
+ */
+@Import(SysAuthServiceImpl.class)
+public class SysAuthServiceImplTest extends BaseDbUnitTest {
+
+ @Resource
+ private SysAuthServiceImpl authService;
+
+ @MockBean
+ private SysUserService userService;
+ @MockBean
+ private SysPermissionService permissionService;
+ @MockBean
+ private AuthenticationManager authenticationManager;
+ @MockBean
+ private Authentication authentication;
+ @MockBean
+ private SysCaptchaService captchaService;
+ @MockBean
+ private SysLoginLogService loginLogService;
+ @MockBean
+ private SysUserSessionService userSessionService;
+
+ @Test
+ public void testLoadUserByUsername_success() {
+ // 准备参数
+ String username = randomString();
+ // mock 方法
+ SysUserDO user = randomUserDO(o -> o.setUsername(username));
+ when(userService.getUserByUsername(eq(username))).thenReturn(user);
+
+ // 调用
+ LoginUser loginUser = (LoginUser) authService.loadUserByUsername(username);
+ // 校验
+ AssertUtils.assertPojoEquals(user, loginUser, "updateTime");
+ assertNull(loginUser.getRoleIds()); // 此时不会加载角色,所以是空的
+ }
+
+ @Test
+ public void testLoadUserByUsername_userNotFound() {
+ // 准备参数
+ String username = randomString();
+ // mock 方法
+
+ // 调用, 并断言异常
+ assertThrows(UsernameNotFoundException.class, // 抛出 UsernameNotFoundException 异常
+ () -> authService.loadUserByUsername(username),
+ username); // 异常提示为 username
+ }
+
+ @Test
+ public void testMockLogin_success() {
+ // 准备参数
+ Long userId = randomLongId();
+ // mock 方法 01
+ SysUserDO user = randomUserDO(o -> o.setId(userId));
+ when(userService.getUser(eq(userId))).thenReturn(user);
+ // mock 方法 02
+ Set roleIds = randomSet(Long.class);
+ when(permissionService.getUserRoleIds(eq(userId), eq(singleton(CommonStatusEnum.ENABLE.getStatus()))))
+ .thenReturn(roleIds);
+
+ // 调用
+ LoginUser loginUser = authService.mockLogin(userId);
+ // 断言
+ AssertUtils.assertPojoEquals(user, loginUser, "updateTime");
+ assertEquals(roleIds, loginUser.getRoleIds());
+ }
+
+ @Test
+ public void testMockLogin_userNotFound() {
+ // 准备参数
+ Long userId = randomLongId();
+ // mock 方法
+
+ // 调用, 并断言异常
+ assertThrows(UsernameNotFoundException.class, // 抛出 UsernameNotFoundException 异常
+ () -> authService.mockLogin(userId),
+ String.valueOf(userId)); // 异常提示为 userId
+ }
+
+ @Test
+ public void testLogin_captchaNotFound() {
+ // 准备参数
+ SysAuthLoginReqVO reqVO = randomPojo(SysAuthLoginReqVO.class);
+ String userIp = randomString();
+ String userAgent = randomString();
+ // 调用, 并断言异常
+ assertServiceException(() -> authService.login(reqVO, userIp, userAgent), AUTH_LOGIN_CAPTCHA_NOT_FOUND);
+ // 校验调用参数
+ verify(loginLogService, times(1)).createLoginLog(
+ argThat(o -> o.getLogType().equals(SysLoginLogTypeEnum.LOGIN_USERNAME.getType())
+ && o.getResult().equals(SysLoginResultEnum.CAPTCHA_NOT_FOUND.getResult()))
+ );
+ }
+
+ @Test
+ public void testLogin_captchaCodeError() {
+ // 准备参数
+ String userIp = randomString();
+ String userAgent = randomString();
+ String code = randomString();
+ SysAuthLoginReqVO reqVO = randomPojo(SysAuthLoginReqVO.class);
+ // mock 验证码不正确
+ when(captchaService.getCaptchaCode(reqVO.getUuid())).thenReturn(code);
+ // 调用, 并断言异常
+ assertServiceException(() -> authService.login(reqVO, userIp, userAgent), AUTH_LOGIN_CAPTCHA_CODE_ERROR);
+ // 校验调用参数
+ verify(loginLogService, times(1)).createLoginLog(
+ argThat(o -> o.getLogType().equals(SysLoginLogTypeEnum.LOGIN_USERNAME.getType())
+ && o.getResult().equals(SysLoginResultEnum.CAPTCHA_CODE_ERROR.getResult()))
+ );
+ }
+
+ @Test
+ public void testLogin_badCredentials() {
+ // 准备参数
+ String userIp = randomString();
+ String userAgent = randomString();
+ SysAuthLoginReqVO reqVO = randomPojo(SysAuthLoginReqVO.class);
+ // mock 验证码正确
+ when(captchaService.getCaptchaCode(reqVO.getUuid())).thenReturn(reqVO.getCode());
+ // mock 抛出异常
+ when(authenticationManager.authenticate(new UsernamePasswordAuthenticationToken(reqVO.getUsername(), reqVO.getPassword())))
+ .thenThrow(new BadCredentialsException("测试账号或密码不正确"));
+ // 调用, 并断言异常
+ assertServiceException(() -> authService.login(reqVO, userIp, userAgent), AUTH_LOGIN_BAD_CREDENTIALS);
+ // 校验调用参数
+ verify(captchaService, times(1)).deleteCaptchaCode(reqVO.getUuid());
+ verify(loginLogService, times(1)).createLoginLog(
+ argThat(o -> o.getLogType().equals(SysLoginLogTypeEnum.LOGIN_USERNAME.getType())
+ && o.getResult().equals(SysLoginResultEnum.BAD_CREDENTIALS.getResult()))
+ );
+ }
+
+ @Test
+ public void testLogin_userDisabled() {
+ // 准备参数
+ String userIp = randomString();
+ String userAgent = randomString();
+ SysAuthLoginReqVO reqVO = randomPojo(SysAuthLoginReqVO.class);
+ // mock 验证码正确
+ when(captchaService.getCaptchaCode(reqVO.getUuid())).thenReturn(reqVO.getCode());
+ // mock 抛出异常
+ when(authenticationManager.authenticate(new UsernamePasswordAuthenticationToken(reqVO.getUsername(), reqVO.getPassword())))
+ .thenThrow(new DisabledException("测试用户被禁用"));
+ // 调用, 并断言异常
+ assertServiceException(() -> authService.login(reqVO, userIp, userAgent), AUTH_LOGIN_USER_DISABLED);
+ // 校验调用参数
+ verify(captchaService, times(1)).deleteCaptchaCode(reqVO.getUuid());
+ verify(loginLogService, times(1)).createLoginLog(
+ argThat(o -> o.getLogType().equals(SysLoginLogTypeEnum.LOGIN_USERNAME.getType())
+ && o.getResult().equals(SysLoginResultEnum.USER_DISABLED.getResult()))
+ );
+ }
+
+ @Test
+ public void testLogin_unknownError() {
+ // 准备参数
+ String userIp = randomString();
+ String userAgent = randomString();
+ SysAuthLoginReqVO reqVO = randomPojo(SysAuthLoginReqVO.class);
+ // mock 验证码正确
+ when(captchaService.getCaptchaCode(reqVO.getUuid())).thenReturn(reqVO.getCode());
+ // mock 抛出异常
+ when(authenticationManager.authenticate(new UsernamePasswordAuthenticationToken(reqVO.getUsername(), reqVO.getPassword())))
+ .thenThrow(new AuthenticationException("测试未知异常") {});
+ // 调用, 并断言异常
+ assertServiceException(() -> authService.login(reqVO, userIp, userAgent), AUTH_LOGIN_FAIL_UNKNOWN);
+ // 校验调用参数
+ verify(captchaService, times(1)).deleteCaptchaCode(reqVO.getUuid());
+ verify(loginLogService, times(1)).createLoginLog(
+ argThat(o -> o.getLogType().equals(SysLoginLogTypeEnum.LOGIN_USERNAME.getType())
+ && o.getResult().equals(SysLoginResultEnum.UNKNOWN_ERROR.getResult()))
+ );
+ }
+
+ @Test
+ public void testLogin_success() {
+ // 准备参数
+ String userIp = randomString();
+ String userAgent = randomString();
+ Long userId = randomLongId();
+ Set userRoleIds = randomSet(Long.class);
+ String sessionId = randomString();
+ SysAuthLoginReqVO reqVO = randomPojo(SysAuthLoginReqVO.class);
+ LoginUser loginUser = randomPojo(LoginUser.class, o -> {
+ o.setId(userId);
+ o.setRoleIds(userRoleIds);
+ });
+ // mock 验证码正确
+ when(captchaService.getCaptchaCode(reqVO.getUuid())).thenReturn(reqVO.getCode());
+ // mock authentication
+ when(authenticationManager.authenticate(new UsernamePasswordAuthenticationToken(reqVO.getUsername(), reqVO.getPassword())))
+ .thenReturn(authentication);
+ when(authentication.getPrincipal()).thenReturn(loginUser);
+ // mock 获得 User 拥有的角色编号数组
+ when(permissionService.getUserRoleIds(userId, singleton(CommonStatusEnum.ENABLE.getStatus()))).thenReturn(userRoleIds);
+ // mock 缓存登陆用户到 Redis
+ when(userSessionService.createUserSession(loginUser, userIp, userAgent)).thenReturn(sessionId);
+ // 调用, 并断言异常
+ String login = authService.login(reqVO, userIp, userAgent);
+ assertEquals(sessionId, login);
+ // 校验调用参数
+ verify(captchaService, times(1)).deleteCaptchaCode(reqVO.getUuid());
+ verify(loginLogService, times(1)).createLoginLog(
+ argThat(o -> o.getLogType().equals(SysLoginLogTypeEnum.LOGIN_USERNAME.getType())
+ && o.getResult().equals(SysLoginResultEnum.SUCCESS.getResult()))
+ );
+ }
+
+ @Test
+ public void testLogout_success() {
+ // 准备参数
+ String token = randomString();
+ LoginUser loginUser = randomPojo(LoginUser.class);
+ // mock
+ when(userSessionService.getLoginUser(token)).thenReturn(loginUser);
+ // 调用
+ authService.logout(token);
+ // 校验调用参数
+ verify(userSessionService, times(1)).deleteUserSession(token);
+ verify(loginLogService, times(1)).createLoginLog(
+ argThat(o -> o.getLogType().equals(SysLoginLogTypeEnum.LOGOUT_SELF.getType())
+ && o.getResult().equals(SysLoginResultEnum.SUCCESS.getResult()))
+ );
+ }
+
+}
diff --git a/src/test/java/cn/iocoder/dashboard/modules/system/service/auth/SysUserSessionServiceImplTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/auth/SysUserSessionServiceImplTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/system/service/auth/SysUserSessionServiceImplTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/auth/SysUserSessionServiceImplTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/system/service/common/SysCaptchaServiceTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/common/SysCaptchaServiceTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/system/service/common/SysCaptchaServiceTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/common/SysCaptchaServiceTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/system/service/dept/SysDeptServiceTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/dept/SysDeptServiceTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/system/service/dept/SysDeptServiceTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/dept/SysDeptServiceTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/system/service/dept/SysPostServiceTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/dept/SysPostServiceTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/system/service/dept/SysPostServiceTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/dept/SysPostServiceTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/system/service/dict/SysDictDataServiceTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/dict/SysDictDataServiceTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/system/service/dict/SysDictDataServiceTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/dict/SysDictDataServiceTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/system/service/dict/SysDictTypeServiceTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/dict/SysDictTypeServiceTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/system/service/dict/SysDictTypeServiceTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/dict/SysDictTypeServiceTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/system/service/errorcode/SysErrorCodeServiceTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/errorcode/SysErrorCodeServiceTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/system/service/errorcode/SysErrorCodeServiceTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/errorcode/SysErrorCodeServiceTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/system/service/logger/SysLoginLogServiceImplTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/logger/SysLoginLogServiceImplTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/system/service/logger/SysLoginLogServiceImplTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/logger/SysLoginLogServiceImplTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/system/service/logger/SysOperateLogServiceImplTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/logger/SysOperateLogServiceImplTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/system/service/logger/SysOperateLogServiceImplTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/logger/SysOperateLogServiceImplTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/system/service/notice/SysNoticeServiceImplTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/notice/SysNoticeServiceImplTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/system/service/notice/SysNoticeServiceImplTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/notice/SysNoticeServiceImplTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/system/service/permission/SysMenuServiceTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/permission/SysMenuServiceTest.java
similarity index 97%
rename from src/test/java/cn/iocoder/dashboard/modules/system/service/permission/SysMenuServiceTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/permission/SysMenuServiceTest.java
index c120fd870..9cefaada3 100644
--- a/src/test/java/cn/iocoder/dashboard/modules/system/service/permission/SysMenuServiceTest.java
+++ b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/permission/SysMenuServiceTest.java
@@ -1,366 +1,366 @@
-package cn.iocoder.dashboard.modules.system.service.permission;
-
-import cn.hutool.core.bean.BeanUtil;
-import cn.hutool.core.lang.Assert;
-import cn.iocoder.dashboard.BaseDbUnitTest;
-import cn.iocoder.dashboard.common.enums.CommonStatusEnum;
-import cn.iocoder.dashboard.modules.system.controller.permission.vo.menu.SysMenuCreateReqVO;
-import cn.iocoder.dashboard.modules.system.controller.permission.vo.menu.SysMenuListReqVO;
-import cn.iocoder.dashboard.modules.system.controller.permission.vo.menu.SysMenuUpdateReqVO;
-import cn.iocoder.dashboard.modules.system.dal.dataobject.permission.SysMenuDO;
-import cn.iocoder.dashboard.modules.system.dal.mysql.permission.SysMenuMapper;
-import cn.iocoder.dashboard.modules.system.enums.permission.MenuTypeEnum;
-import cn.iocoder.dashboard.modules.system.mq.producer.permission.SysMenuProducer;
-import cn.iocoder.dashboard.modules.system.service.permission.impl.SysMenuServiceImpl;
-import cn.iocoder.dashboard.util.sping.SpringAopUtils;
-import cn.iocoder.dashboard.util.RandomUtils;
-import cn.iocoder.dashboard.util.object.ObjectUtils;
-import com.google.common.collect.Multimap;
-import org.junit.jupiter.api.Assertions;
-import org.junit.jupiter.api.Test;
-import org.springframework.boot.test.mock.mockito.MockBean;
-import org.springframework.context.annotation.Import;
-
-import javax.annotation.Resource;
-import java.util.*;
-
-import static cn.iocoder.dashboard.modules.system.enums.SysErrorCodeConstants.*;
-import static cn.iocoder.dashboard.util.AssertUtils.assertPojoEquals;
-import static cn.iocoder.dashboard.util.AssertUtils.assertServiceException;
-import static cn.iocoder.dashboard.util.RandomUtils.*;
-import static org.junit.jupiter.api.Assertions.assertEquals;
-import static org.mockito.Mockito.verify;
-
-@Import(SysMenuServiceImpl.class)
-public class SysMenuServiceTest extends BaseDbUnitTest {
-
- @Resource
- private SysMenuServiceImpl sysMenuService;
-
- @MockBean
- private SysPermissionService sysPermissionService;
-
- @MockBean
- private SysMenuProducer sysMenuProducer;
-
- @Resource
- private SysMenuMapper menuMapper;
-
- @Test
- public void testInitLocalCache_success() throws Exception {
- SysMenuDO menuDO1 = createMenuDO(MenuTypeEnum.MENU, "xxxx", 0L);
- menuMapper.insert(menuDO1);
- SysMenuDO menuDO2 = createMenuDO(MenuTypeEnum.MENU, "xxxx", 0L);
- menuMapper.insert(menuDO2);
-
- // 调用
- sysMenuService.initLocalCache();
-
- // 获取代理对象
- SysMenuServiceImpl target = (SysMenuServiceImpl) SpringAopUtils.getTarget(sysMenuService);
-
- Map menuCache =
- (Map) BeanUtil.getFieldValue(target, "menuCache");
- Assert.isTrue(menuCache.size() == 2);
- assertPojoEquals(menuDO1, menuCache.get(menuDO1.getId()));
- assertPojoEquals(menuDO2, menuCache.get(menuDO2.getId()));
-
- Multimap permissionMenuCache =
- (Multimap) BeanUtil.getFieldValue(target, "permissionMenuCache");
- Assert.isTrue(permissionMenuCache.size() == 2);
- assertPojoEquals(menuDO1, permissionMenuCache.get(menuDO1.getPermission()));
- assertPojoEquals(menuDO2, permissionMenuCache.get(menuDO2.getPermission()));
-
- Date maxUpdateTime = (Date) BeanUtil.getFieldValue(target, "maxUpdateTime");
- assertEquals(ObjectUtils.max(menuDO1.getUpdateTime(), menuDO2.getUpdateTime()), maxUpdateTime);
- }
-
- @Test
- public void testCreateMenu_success() {
- //构造父目录
- SysMenuDO menuDO = createMenuDO(MenuTypeEnum.MENU, "parent", 0L);
- menuMapper.insert(menuDO);
- Long parentId = menuDO.getId();
-
- //调用
- SysMenuCreateReqVO vo = randomPojo(SysMenuCreateReqVO.class, o -> {
- o.setParentId(parentId);
- o.setName("testSonName");
- o.setType(MenuTypeEnum.MENU.getType());
- o.setStatus(RandomUtils.randomCommonStatus());
- });
- Long menuId = sysMenuService.createMenu(vo);
-
- //断言
- Assertions.assertNotNull(menuId);
- // 校验记录的属性是否正确
- SysMenuDO ret = menuMapper.selectById(menuId);
- assertPojoEquals(vo, ret);
- // 校验调用
- verify(sysMenuProducer).sendMenuRefreshMessage();
- }
-
- @Test
- public void testUpdateMenu_success() {
- //构造父子目录
- SysMenuDO sonMenuDO = initParentAndSonMenuDO();
- Long sonId = sonMenuDO.getId();
- Long parentId = sonMenuDO.getParentId();
-
- //调用
- SysMenuUpdateReqVO vo = RandomUtils.randomPojo(SysMenuUpdateReqVO.class, o -> {
- o.setId(sonId);
- o.setParentId(parentId);
- o.setType(MenuTypeEnum.MENU.getType());
- o.setStatus(RandomUtils.randomCommonStatus());
- o.setName("pppppp"); //修改名字
- });
- sysMenuService.updateMenu(vo);
-
- //断言
- // 校验记录的属性是否正确
- SysMenuDO ret = menuMapper.selectById(sonId);
- assertPojoEquals(vo, ret);
- // 校验调用
- verify(sysMenuProducer).sendMenuRefreshMessage();
- }
-
- @Test
- public void testUpdateMenu_sonIdNotExist() {
- Long sonId = 99999L;
- Long parentId = 10000L;
-
- //调用
- SysMenuUpdateReqVO vo = RandomUtils.randomPojo(SysMenuUpdateReqVO.class, o -> {
- o.setId(sonId);
- o.setParentId(parentId);
- o.setType(MenuTypeEnum.MENU.getType());
- o.setStatus(RandomUtils.randomCommonStatus());
- });
- //断言
- assertServiceException(() -> sysMenuService.updateMenu(vo), MENU_NOT_EXISTS);
- }
-
- @Test
- public void testDeleteMenu_success() {
- SysMenuDO sonMenuDO = initParentAndSonMenuDO();
- Long sonId = sonMenuDO.getId();
-
- //调用
- sysMenuService.deleteMenu(sonId);
-
- //断言
- SysMenuDO menuDO = menuMapper.selectById(sonId);
- Assert.isNull(menuDO);
- verify(sysPermissionService).processMenuDeleted(sonId);
- verify(sysMenuProducer).sendMenuRefreshMessage();
- }
-
- @Test
- public void testDeleteMenu_menuNotExist() {
- Long sonId = 99999L;
-
- assertServiceException(() -> sysMenuService.deleteMenu(sonId), MENU_NOT_EXISTS);
- }
-
- @Test
- public void testDeleteMenu_existChildren() {
- SysMenuDO sonMenu = initParentAndSonMenuDO();
- Long parentId = sonMenu.getParentId();
-
- assertServiceException(() -> sysMenuService.deleteMenu(parentId), MENU_EXISTS_CHILDREN);
- }
-
- @Test
- public void testGetMenus_success() {
- Map idMenuMap = new HashMap<>();
- SysMenuDO menuDO = createMenuDO(MenuTypeEnum.MENU, "parent", 0L);
- menuMapper.insert(menuDO);
- idMenuMap.put(menuDO.getId(), menuDO);
-
- SysMenuDO sonMenu = createMenuDO(MenuTypeEnum.MENU, "son", menuDO.getId());
- menuMapper.insert(sonMenu);
- idMenuMap.put(sonMenu.getId(), sonMenu);
-
- //调用
- List menuDOS = sysMenuService.getMenus();
-
- //断言
- Assert.isTrue(menuDOS.size() == idMenuMap.size());
- menuDOS.forEach(m -> assertPojoEquals(idMenuMap.get(m.getId()), m));
- }
-
- @Test
- public void testGetMenusReqVo_success() {
- Map idMenuMap = new HashMap<>();
- //用于验证可以模糊搜索名称包含"name",状态为1的menu
- SysMenuDO menu = createMenuDO(MenuTypeEnum.MENU, "name2", 0L, 1);
- menuMapper.insert(menu);
- idMenuMap.put(menu.getId(), menu);
-
- menu = createMenuDO(MenuTypeEnum.MENU, "11name111", 0L, 1);
- menuMapper.insert(menu);
- idMenuMap.put(menu.getId(), menu);
-
- menu = createMenuDO(MenuTypeEnum.MENU, "name", 0L, 1);
- menuMapper.insert(menu);
- idMenuMap.put(menu.getId(), menu);
-
- //以下是不符合搜索条件的的menu
- menu = createMenuDO(MenuTypeEnum.MENU, "xxxxxx", 0L, 1);
- menuMapper.insert(menu);
- menu = createMenuDO(MenuTypeEnum.MENU, "name", 0L, 2);
- menuMapper.insert(menu);
-
- //调用
- SysMenuListReqVO reqVO = new SysMenuListReqVO();
- reqVO.setStatus(1);
- reqVO.setName("name");
- List menuDOS = sysMenuService.getMenus(reqVO);
-
- //断言
- Assert.isTrue(menuDOS.size() == idMenuMap.size());
- menuDOS.forEach(m -> assertPojoEquals(idMenuMap.get(m.getId()), m));
- }
-
- @Test
- public void testListMenusFromCache_success() throws Exception {
- Map mockCacheMap = new HashMap<>();
- //获取代理对象
- SysMenuServiceImpl target = (SysMenuServiceImpl) SpringAopUtils.getTarget(sysMenuService);
- BeanUtil.setFieldValue(target, "menuCache", mockCacheMap);
-
- Map idMenuMap = new HashMap<>();
- //用于验证搜索类型为MENU,状态为1的menu
- SysMenuDO menuDO = createMenuDO(1L, MenuTypeEnum.MENU, "name", 0L, 1);
- mockCacheMap.put(menuDO.getId(), menuDO);
- idMenuMap.put(menuDO.getId(), menuDO);
-
- menuDO = createMenuDO(2L, MenuTypeEnum.MENU, "name", 0L, 1);
- mockCacheMap.put(menuDO.getId(), menuDO);
- idMenuMap.put(menuDO.getId(), menuDO);
-
- //以下是不符合搜索条件的menu
- menuDO = createMenuDO(3L, MenuTypeEnum.BUTTON, "name", 0L, 1);
- mockCacheMap.put(menuDO.getId(), menuDO);
- menuDO = createMenuDO(4L, MenuTypeEnum.MENU, "name", 0L, 2);
- mockCacheMap.put(menuDO.getId(), menuDO);
-
- List menuDOS = sysMenuService.listMenusFromCache(Collections.singletonList(MenuTypeEnum.MENU.getType()),
- Collections.singletonList(CommonStatusEnum.DISABLE.getStatus()));
- Assert.isTrue(menuDOS.size() == idMenuMap.size());
- menuDOS.forEach(m -> assertPojoEquals(idMenuMap.get(m.getId()), m));
- }
-
- @Test
- public void testListMenusFromCache2_success() throws Exception {
- Map mockCacheMap = new HashMap<>();
- //获取代理对象
- SysMenuServiceImpl target = (SysMenuServiceImpl) SpringAopUtils.getTarget(sysMenuService);
- BeanUtil.setFieldValue(target, "menuCache", mockCacheMap);
-
- Map idMenuMap = new HashMap<>();
- //验证搜索id为1, 类型为MENU, 状态为1 的menu
- SysMenuDO menuDO = createMenuDO(1L, MenuTypeEnum.MENU, "name", 0L, 1);
- mockCacheMap.put(menuDO.getId(), menuDO);
- idMenuMap.put(menuDO.getId(), menuDO);
-
- //以下是不符合搜索条件的menu
- menuDO = createMenuDO(2L, MenuTypeEnum.MENU, "name", 0L, 1);
- mockCacheMap.put(menuDO.getId(), menuDO);
- menuDO = createMenuDO(3L, MenuTypeEnum.BUTTON, "name", 0L, 1);
- mockCacheMap.put(menuDO.getId(), menuDO);
- menuDO = createMenuDO(4L, MenuTypeEnum.MENU, "name", 0L, 2);
- mockCacheMap.put(menuDO.getId(), menuDO);
-
- List menuDOS = sysMenuService.listMenusFromCache(Collections.singletonList(1L),
- Collections.singletonList(MenuTypeEnum.MENU.getType()), Collections.singletonList(1));
- Assert.isTrue(menuDOS.size() == idMenuMap.size());
- menuDOS.forEach(menu -> assertPojoEquals(idMenuMap.get(menu.getId()), menu));
- }
-
- @Test
- public void testCheckParentResource_success() {
- SysMenuDO menuDO = createMenuDO(MenuTypeEnum.MENU, "parent", 0L);
- menuMapper.insert(menuDO);
- Long parentId = menuDO.getId();
-
- sysMenuService.checkParentResource(parentId, null);
- }
-
- @Test
- public void testCheckParentResource_canNotSetSelfToBeParent() {
- assertServiceException(() -> sysMenuService.checkParentResource(1L, 1L), MENU_PARENT_ERROR);
- }
-
- @Test
- public void testCheckParentResource_parentNotExist() {
- assertServiceException(() -> sysMenuService.checkParentResource(randomLongId(), null), MENU_PARENT_NOT_EXISTS);
- }
-
- @Test
- public void testCheckParentResource_parentTypeError() {
- SysMenuDO menuDO = createMenuDO(MenuTypeEnum.BUTTON, "parent", 0L);
- menuMapper.insert(menuDO);
- Long parentId = menuDO.getId();
-
- assertServiceException(() -> sysMenuService.checkParentResource(parentId, null), MENU_PARENT_NOT_DIR_OR_MENU);
- }
-
- @Test
- public void testCheckResource_success() {
- SysMenuDO sonMenu = initParentAndSonMenuDO();
- Long parentId = sonMenu.getParentId();
-
- Long otherSonMenuId = randomLongId();
- String otherSonMenuName = randomString();
-
- sysMenuService.checkResource(parentId, otherSonMenuName, otherSonMenuId);
- }
-
- @Test
- public void testCheckResource_sonMenuNameDuplicate(){
- SysMenuDO sonMenu=initParentAndSonMenuDO();
- Long parentId=sonMenu.getParentId();
-
- Long otherSonMenuId=randomLongId();
- String otherSonMenuName=sonMenu.getName(); //相同名称
-
- assertServiceException(() -> sysMenuService.checkResource(parentId, otherSonMenuName, otherSonMenuId), MENU_NAME_DUPLICATE);
- }
-
- /**
- * 构造父子目录,返回子目录
- *
- * @return
- */
- private SysMenuDO initParentAndSonMenuDO() {
- //构造父子目录
- SysMenuDO menuDO = createMenuDO(MenuTypeEnum.MENU, "parent", 0L);
- menuMapper.insert(menuDO);
- Long parentId = menuDO.getId();
-
- SysMenuDO sonMenuDO = createMenuDO(MenuTypeEnum.MENU, "testSonName", parentId);
- menuMapper.insert(sonMenuDO);
- return sonMenuDO;
- }
-
- private SysMenuDO createMenuDO(MenuTypeEnum typeEnum, String menuName, Long parentId) {
- return createMenuDO(typeEnum, menuName, parentId, RandomUtils.randomCommonStatus());
- }
-
- private SysMenuDO createMenuDO(MenuTypeEnum typeEnum, String menuName, Long parentId, Integer status) {
- return createMenuDO(null, typeEnum, menuName, parentId, status);
- }
-
- private SysMenuDO createMenuDO(Long id, MenuTypeEnum typeEnum, String menuName, Long parentId, Integer status) {
- return RandomUtils.randomPojo(SysMenuDO.class, o -> {
- o.setId(id);
- o.setParentId(parentId);
- o.setType(typeEnum.getType());
- o.setStatus(status);
- o.setName(menuName);
- });
- }
-
-}
+package cn.iocoder.dashboard.modules.system.service.permission;
+
+import cn.hutool.core.bean.BeanUtil;
+import cn.hutool.core.lang.Assert;
+import cn.iocoder.dashboard.BaseDbUnitTest;
+import cn.iocoder.dashboard.common.enums.CommonStatusEnum;
+import cn.iocoder.dashboard.modules.system.controller.permission.vo.menu.SysMenuCreateReqVO;
+import cn.iocoder.dashboard.modules.system.controller.permission.vo.menu.SysMenuListReqVO;
+import cn.iocoder.dashboard.modules.system.controller.permission.vo.menu.SysMenuUpdateReqVO;
+import cn.iocoder.dashboard.modules.system.dal.dataobject.permission.SysMenuDO;
+import cn.iocoder.dashboard.modules.system.dal.mysql.permission.SysMenuMapper;
+import cn.iocoder.dashboard.modules.system.enums.permission.MenuTypeEnum;
+import cn.iocoder.dashboard.modules.system.mq.producer.permission.SysMenuProducer;
+import cn.iocoder.dashboard.modules.system.service.permission.impl.SysMenuServiceImpl;
+import cn.iocoder.dashboard.util.sping.SpringAopUtils;
+import cn.iocoder.dashboard.util.RandomUtils;
+import cn.iocoder.dashboard.util.object.ObjectUtils;
+import com.google.common.collect.Multimap;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Test;
+import org.springframework.boot.test.mock.mockito.MockBean;
+import org.springframework.context.annotation.Import;
+
+import javax.annotation.Resource;
+import java.util.*;
+
+import static cn.iocoder.dashboard.modules.system.enums.SysErrorCodeConstants.*;
+import static cn.iocoder.dashboard.util.AssertUtils.assertPojoEquals;
+import static cn.iocoder.dashboard.util.AssertUtils.assertServiceException;
+import static cn.iocoder.dashboard.util.RandomUtils.*;
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.mockito.Mockito.verify;
+
+@Import(SysMenuServiceImpl.class)
+public class SysMenuServiceTest extends BaseDbUnitTest {
+
+ @Resource
+ private SysMenuServiceImpl sysMenuService;
+
+ @MockBean
+ private SysPermissionService sysPermissionService;
+
+ @MockBean
+ private SysMenuProducer sysMenuProducer;
+
+ @Resource
+ private SysMenuMapper menuMapper;
+
+ @Test
+ public void testInitLocalCache_success() throws Exception {
+ SysMenuDO menuDO1 = createMenuDO(MenuTypeEnum.MENU, "xxxx", 0L);
+ menuMapper.insert(menuDO1);
+ SysMenuDO menuDO2 = createMenuDO(MenuTypeEnum.MENU, "xxxx", 0L);
+ menuMapper.insert(menuDO2);
+
+ // 调用
+ sysMenuService.initLocalCache();
+
+ // 获取代理对象
+ SysMenuServiceImpl target = (SysMenuServiceImpl) SpringAopUtils.getTarget(sysMenuService);
+
+ Map menuCache =
+ (Map) BeanUtil.getFieldValue(target, "menuCache");
+ Assert.isTrue(menuCache.size() == 2);
+ assertPojoEquals(menuDO1, menuCache.get(menuDO1.getId()));
+ assertPojoEquals(menuDO2, menuCache.get(menuDO2.getId()));
+
+ Multimap permissionMenuCache =
+ (Multimap) BeanUtil.getFieldValue(target, "permissionMenuCache");
+ Assert.isTrue(permissionMenuCache.size() == 2);
+ assertPojoEquals(menuDO1, permissionMenuCache.get(menuDO1.getPermission()));
+ assertPojoEquals(menuDO2, permissionMenuCache.get(menuDO2.getPermission()));
+
+ Date maxUpdateTime = (Date) BeanUtil.getFieldValue(target, "maxUpdateTime");
+ assertEquals(ObjectUtils.max(menuDO1.getUpdateTime(), menuDO2.getUpdateTime()), maxUpdateTime);
+ }
+
+ @Test
+ public void testCreateMenu_success() {
+ //构造父目录
+ SysMenuDO menuDO = createMenuDO(MenuTypeEnum.MENU, "parent", 0L);
+ menuMapper.insert(menuDO);
+ Long parentId = menuDO.getId();
+
+ //调用
+ SysMenuCreateReqVO vo = randomPojo(SysMenuCreateReqVO.class, o -> {
+ o.setParentId(parentId);
+ o.setName("testSonName");
+ o.setType(MenuTypeEnum.MENU.getType());
+ o.setStatus(RandomUtils.randomCommonStatus());
+ });
+ Long menuId = sysMenuService.createMenu(vo);
+
+ //断言
+ Assertions.assertNotNull(menuId);
+ // 校验记录的属性是否正确
+ SysMenuDO ret = menuMapper.selectById(menuId);
+ assertPojoEquals(vo, ret);
+ // 校验调用
+ verify(sysMenuProducer).sendMenuRefreshMessage();
+ }
+
+ @Test
+ public void testUpdateMenu_success() {
+ //构造父子目录
+ SysMenuDO sonMenuDO = initParentAndSonMenuDO();
+ Long sonId = sonMenuDO.getId();
+ Long parentId = sonMenuDO.getParentId();
+
+ //调用
+ SysMenuUpdateReqVO vo = RandomUtils.randomPojo(SysMenuUpdateReqVO.class, o -> {
+ o.setId(sonId);
+ o.setParentId(parentId);
+ o.setType(MenuTypeEnum.MENU.getType());
+ o.setStatus(RandomUtils.randomCommonStatus());
+ o.setName("pppppp"); //修改名字
+ });
+ sysMenuService.updateMenu(vo);
+
+ //断言
+ // 校验记录的属性是否正确
+ SysMenuDO ret = menuMapper.selectById(sonId);
+ assertPojoEquals(vo, ret);
+ // 校验调用
+ verify(sysMenuProducer).sendMenuRefreshMessage();
+ }
+
+ @Test
+ public void testUpdateMenu_sonIdNotExist() {
+ Long sonId = 99999L;
+ Long parentId = 10000L;
+
+ //调用
+ SysMenuUpdateReqVO vo = RandomUtils.randomPojo(SysMenuUpdateReqVO.class, o -> {
+ o.setId(sonId);
+ o.setParentId(parentId);
+ o.setType(MenuTypeEnum.MENU.getType());
+ o.setStatus(RandomUtils.randomCommonStatus());
+ });
+ //断言
+ assertServiceException(() -> sysMenuService.updateMenu(vo), MENU_NOT_EXISTS);
+ }
+
+ @Test
+ public void testDeleteMenu_success() {
+ SysMenuDO sonMenuDO = initParentAndSonMenuDO();
+ Long sonId = sonMenuDO.getId();
+
+ //调用
+ sysMenuService.deleteMenu(sonId);
+
+ //断言
+ SysMenuDO menuDO = menuMapper.selectById(sonId);
+ Assert.isNull(menuDO);
+ verify(sysPermissionService).processMenuDeleted(sonId);
+ verify(sysMenuProducer).sendMenuRefreshMessage();
+ }
+
+ @Test
+ public void testDeleteMenu_menuNotExist() {
+ Long sonId = 99999L;
+
+ assertServiceException(() -> sysMenuService.deleteMenu(sonId), MENU_NOT_EXISTS);
+ }
+
+ @Test
+ public void testDeleteMenu_existChildren() {
+ SysMenuDO sonMenu = initParentAndSonMenuDO();
+ Long parentId = sonMenu.getParentId();
+
+ assertServiceException(() -> sysMenuService.deleteMenu(parentId), MENU_EXISTS_CHILDREN);
+ }
+
+ @Test
+ public void testGetMenus_success() {
+ Map idMenuMap = new HashMap<>();
+ SysMenuDO menuDO = createMenuDO(MenuTypeEnum.MENU, "parent", 0L);
+ menuMapper.insert(menuDO);
+ idMenuMap.put(menuDO.getId(), menuDO);
+
+ SysMenuDO sonMenu = createMenuDO(MenuTypeEnum.MENU, "son", menuDO.getId());
+ menuMapper.insert(sonMenu);
+ idMenuMap.put(sonMenu.getId(), sonMenu);
+
+ //调用
+ List menuDOS = sysMenuService.getMenus();
+
+ //断言
+ Assert.isTrue(menuDOS.size() == idMenuMap.size());
+ menuDOS.forEach(m -> assertPojoEquals(idMenuMap.get(m.getId()), m));
+ }
+
+ @Test
+ public void testGetMenusReqVo_success() {
+ Map idMenuMap = new HashMap<>();
+ //用于验证可以模糊搜索名称包含"name",状态为1的menu
+ SysMenuDO menu = createMenuDO(MenuTypeEnum.MENU, "name2", 0L, 1);
+ menuMapper.insert(menu);
+ idMenuMap.put(menu.getId(), menu);
+
+ menu = createMenuDO(MenuTypeEnum.MENU, "11name111", 0L, 1);
+ menuMapper.insert(menu);
+ idMenuMap.put(menu.getId(), menu);
+
+ menu = createMenuDO(MenuTypeEnum.MENU, "name", 0L, 1);
+ menuMapper.insert(menu);
+ idMenuMap.put(menu.getId(), menu);
+
+ //以下是不符合搜索条件的的menu
+ menu = createMenuDO(MenuTypeEnum.MENU, "xxxxxx", 0L, 1);
+ menuMapper.insert(menu);
+ menu = createMenuDO(MenuTypeEnum.MENU, "name", 0L, 2);
+ menuMapper.insert(menu);
+
+ //调用
+ SysMenuListReqVO reqVO = new SysMenuListReqVO();
+ reqVO.setStatus(1);
+ reqVO.setName("name");
+ List menuDOS = sysMenuService.getMenus(reqVO);
+
+ //断言
+ Assert.isTrue(menuDOS.size() == idMenuMap.size());
+ menuDOS.forEach(m -> assertPojoEquals(idMenuMap.get(m.getId()), m));
+ }
+
+ @Test
+ public void testListMenusFromCache_success() throws Exception {
+ Map mockCacheMap = new HashMap<>();
+ //获取代理对象
+ SysMenuServiceImpl target = (SysMenuServiceImpl) SpringAopUtils.getTarget(sysMenuService);
+ BeanUtil.setFieldValue(target, "menuCache", mockCacheMap);
+
+ Map idMenuMap = new HashMap<>();
+ //用于验证搜索类型为MENU,状态为1的menu
+ SysMenuDO menuDO = createMenuDO(1L, MenuTypeEnum.MENU, "name", 0L, 1);
+ mockCacheMap.put(menuDO.getId(), menuDO);
+ idMenuMap.put(menuDO.getId(), menuDO);
+
+ menuDO = createMenuDO(2L, MenuTypeEnum.MENU, "name", 0L, 1);
+ mockCacheMap.put(menuDO.getId(), menuDO);
+ idMenuMap.put(menuDO.getId(), menuDO);
+
+ //以下是不符合搜索条件的menu
+ menuDO = createMenuDO(3L, MenuTypeEnum.BUTTON, "name", 0L, 1);
+ mockCacheMap.put(menuDO.getId(), menuDO);
+ menuDO = createMenuDO(4L, MenuTypeEnum.MENU, "name", 0L, 2);
+ mockCacheMap.put(menuDO.getId(), menuDO);
+
+ List menuDOS = sysMenuService.listMenusFromCache(Collections.singletonList(MenuTypeEnum.MENU.getType()),
+ Collections.singletonList(CommonStatusEnum.DISABLE.getStatus()));
+ Assert.isTrue(menuDOS.size() == idMenuMap.size());
+ menuDOS.forEach(m -> assertPojoEquals(idMenuMap.get(m.getId()), m));
+ }
+
+ @Test
+ public void testListMenusFromCache2_success() throws Exception {
+ Map mockCacheMap = new HashMap<>();
+ //获取代理对象
+ SysMenuServiceImpl target = (SysMenuServiceImpl) SpringAopUtils.getTarget(sysMenuService);
+ BeanUtil.setFieldValue(target, "menuCache", mockCacheMap);
+
+ Map idMenuMap = new HashMap<>();
+ //验证搜索id为1, 类型为MENU, 状态为1 的menu
+ SysMenuDO menuDO = createMenuDO(1L, MenuTypeEnum.MENU, "name", 0L, 1);
+ mockCacheMap.put(menuDO.getId(), menuDO);
+ idMenuMap.put(menuDO.getId(), menuDO);
+
+ //以下是不符合搜索条件的menu
+ menuDO = createMenuDO(2L, MenuTypeEnum.MENU, "name", 0L, 1);
+ mockCacheMap.put(menuDO.getId(), menuDO);
+ menuDO = createMenuDO(3L, MenuTypeEnum.BUTTON, "name", 0L, 1);
+ mockCacheMap.put(menuDO.getId(), menuDO);
+ menuDO = createMenuDO(4L, MenuTypeEnum.MENU, "name", 0L, 2);
+ mockCacheMap.put(menuDO.getId(), menuDO);
+
+ List menuDOS = sysMenuService.listMenusFromCache(Collections.singletonList(1L),
+ Collections.singletonList(MenuTypeEnum.MENU.getType()), Collections.singletonList(1));
+ Assert.isTrue(menuDOS.size() == idMenuMap.size());
+ menuDOS.forEach(menu -> assertPojoEquals(idMenuMap.get(menu.getId()), menu));
+ }
+
+ @Test
+ public void testCheckParentResource_success() {
+ SysMenuDO menuDO = createMenuDO(MenuTypeEnum.MENU, "parent", 0L);
+ menuMapper.insert(menuDO);
+ Long parentId = menuDO.getId();
+
+ sysMenuService.checkParentResource(parentId, null);
+ }
+
+ @Test
+ public void testCheckParentResource_canNotSetSelfToBeParent() {
+ assertServiceException(() -> sysMenuService.checkParentResource(1L, 1L), MENU_PARENT_ERROR);
+ }
+
+ @Test
+ public void testCheckParentResource_parentNotExist() {
+ assertServiceException(() -> sysMenuService.checkParentResource(randomLongId(), null), MENU_PARENT_NOT_EXISTS);
+ }
+
+ @Test
+ public void testCheckParentResource_parentTypeError() {
+ SysMenuDO menuDO = createMenuDO(MenuTypeEnum.BUTTON, "parent", 0L);
+ menuMapper.insert(menuDO);
+ Long parentId = menuDO.getId();
+
+ assertServiceException(() -> sysMenuService.checkParentResource(parentId, null), MENU_PARENT_NOT_DIR_OR_MENU);
+ }
+
+ @Test
+ public void testCheckResource_success() {
+ SysMenuDO sonMenu = initParentAndSonMenuDO();
+ Long parentId = sonMenu.getParentId();
+
+ Long otherSonMenuId = randomLongId();
+ String otherSonMenuName = randomString();
+
+ sysMenuService.checkResource(parentId, otherSonMenuName, otherSonMenuId);
+ }
+
+ @Test
+ public void testCheckResource_sonMenuNameDuplicate(){
+ SysMenuDO sonMenu=initParentAndSonMenuDO();
+ Long parentId=sonMenu.getParentId();
+
+ Long otherSonMenuId=randomLongId();
+ String otherSonMenuName=sonMenu.getName(); //相同名称
+
+ assertServiceException(() -> sysMenuService.checkResource(parentId, otherSonMenuName, otherSonMenuId), MENU_NAME_DUPLICATE);
+ }
+
+ /**
+ * 构造父子目录,返回子目录
+ *
+ * @return
+ */
+ private SysMenuDO initParentAndSonMenuDO() {
+ //构造父子目录
+ SysMenuDO menuDO = createMenuDO(MenuTypeEnum.MENU, "parent", 0L);
+ menuMapper.insert(menuDO);
+ Long parentId = menuDO.getId();
+
+ SysMenuDO sonMenuDO = createMenuDO(MenuTypeEnum.MENU, "testSonName", parentId);
+ menuMapper.insert(sonMenuDO);
+ return sonMenuDO;
+ }
+
+ private SysMenuDO createMenuDO(MenuTypeEnum typeEnum, String menuName, Long parentId) {
+ return createMenuDO(typeEnum, menuName, parentId, RandomUtils.randomCommonStatus());
+ }
+
+ private SysMenuDO createMenuDO(MenuTypeEnum typeEnum, String menuName, Long parentId, Integer status) {
+ return createMenuDO(null, typeEnum, menuName, parentId, status);
+ }
+
+ private SysMenuDO createMenuDO(Long id, MenuTypeEnum typeEnum, String menuName, Long parentId, Integer status) {
+ return RandomUtils.randomPojo(SysMenuDO.class, o -> {
+ o.setId(id);
+ o.setParentId(parentId);
+ o.setType(typeEnum.getType());
+ o.setStatus(status);
+ o.setName(menuName);
+ });
+ }
+
+}
diff --git a/src/test/java/cn/iocoder/dashboard/modules/system/service/permission/SysPermissionServiceTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/permission/SysPermissionServiceTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/system/service/permission/SysPermissionServiceTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/permission/SysPermissionServiceTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/system/service/permission/SysRoleServiceTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/permission/SysRoleServiceTest.java
similarity index 97%
rename from src/test/java/cn/iocoder/dashboard/modules/system/service/permission/SysRoleServiceTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/permission/SysRoleServiceTest.java
index 34784fe11..ed647798a 100644
--- a/src/test/java/cn/iocoder/dashboard/modules/system/service/permission/SysRoleServiceTest.java
+++ b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/permission/SysRoleServiceTest.java
@@ -1,302 +1,302 @@
-package cn.iocoder.dashboard.modules.system.service.permission;
-
-import cn.hutool.core.bean.BeanUtil;
-import cn.iocoder.dashboard.BaseDbUnitTest;
-import cn.iocoder.dashboard.common.enums.CommonStatusEnum;
-import cn.iocoder.dashboard.common.pojo.PageResult;
-import cn.iocoder.dashboard.framework.security.core.enums.DataScopeEnum;
-import cn.iocoder.dashboard.modules.system.controller.permission.vo.role.SysRoleCreateReqVO;
-import cn.iocoder.dashboard.modules.system.controller.permission.vo.role.SysRolePageReqVO;
-import cn.iocoder.dashboard.modules.system.controller.permission.vo.role.SysRoleUpdateReqVO;
-import cn.iocoder.dashboard.modules.system.dal.dataobject.permission.SysRoleDO;
-import cn.iocoder.dashboard.modules.system.dal.mysql.permission.SysRoleMapper;
-import cn.iocoder.dashboard.modules.system.enums.permission.SysRoleTypeEnum;
-import cn.iocoder.dashboard.modules.system.mq.producer.permission.SysRoleProducer;
-import cn.iocoder.dashboard.modules.system.service.permission.impl.SysRoleServiceImpl;
-import cn.iocoder.dashboard.util.sping.SpringAopUtils;
-import org.junit.jupiter.api.Test;
-import org.springframework.boot.test.mock.mockito.MockBean;
-import org.springframework.context.annotation.Import;
-
-import javax.annotation.Resource;
-import java.util.*;
-import java.util.stream.Collectors;
-
-import static cn.iocoder.dashboard.modules.system.enums.SysErrorCodeConstants.*;
-import static cn.iocoder.dashboard.util.AssertUtils.assertPojoEquals;
-import static cn.iocoder.dashboard.util.AssertUtils.assertServiceException;
-import static cn.iocoder.dashboard.util.RandomUtils.*;
-import static cn.iocoder.dashboard.util.object.ObjectUtils.max;
-import static org.junit.jupiter.api.Assertions.*;
-import static org.mockito.Mockito.verify;
-
-@Import(SysRoleServiceImpl.class)
-public class SysRoleServiceTest extends BaseDbUnitTest {
-
- @Resource
- private SysRoleServiceImpl sysRoleService;
-
- @Resource
- private SysRoleMapper roleMapper;
-
- @MockBean
- private SysPermissionService sysPermissionService;
-
- @MockBean
- private SysRoleProducer sysRoleProducer;
-
- @Test
- public void testInitLocalCache_success() throws Exception {
- SysRoleDO roleDO1 = createRoleDO("role1", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL);
- roleMapper.insert(roleDO1);
- SysRoleDO roleDO2 = createRoleDO("role2", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL);
- roleMapper.insert(roleDO2);
-
- //调用
- sysRoleService.initLocalCache();
-
- //断言
- //获取代理对象
- SysRoleServiceImpl target = (SysRoleServiceImpl) SpringAopUtils.getTarget(sysRoleService);
-
- Map roleCache = (Map) BeanUtil.getFieldValue(target, "roleCache");
- assertPojoEquals(roleDO1, roleCache.get(roleDO1.getId()));
- assertPojoEquals(roleDO2, roleCache.get(roleDO2.getId()));
-
- Date maxUpdateTime = (Date) BeanUtil.getFieldValue(target, "maxUpdateTime");
- assertEquals(max(roleDO1.getUpdateTime(), roleDO2.getUpdateTime()), maxUpdateTime);
- }
-
- @Test
- public void testCreateRole_success() {
- SysRoleCreateReqVO reqVO = randomPojo(SysRoleCreateReqVO.class, o -> {
- o.setCode("role_code");
- o.setName("role_name");
- o.setRemark("remark");
- o.setType(SysRoleTypeEnum.CUSTOM.getType());
- o.setSort(1);
- });
- Long roleId = sysRoleService.createRole(reqVO);
-
- //断言
- assertNotNull(roleId);
- SysRoleDO roleDO = roleMapper.selectById(roleId);
- assertPojoEquals(reqVO, roleDO);
-
- verify(sysRoleProducer).sendRoleRefreshMessage();
- }
-
- @Test
- public void testUpdateRole_success() {
- SysRoleDO roleDO = createRoleDO("role_name", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL);
- roleMapper.insert(roleDO);
- Long roleId = roleDO.getId();
-
- //调用
- SysRoleUpdateReqVO reqVO = randomPojo(SysRoleUpdateReqVO.class, o -> {
- o.setId(roleId);
- o.setCode("role_code");
- o.setName("update_name");
- o.setType(SysRoleTypeEnum.SYSTEM.getType());
- o.setSort(999);
- });
- sysRoleService.updateRole(reqVO);
-
- //断言
- SysRoleDO newRoleDO = roleMapper.selectById(roleId);
- assertPojoEquals(reqVO, newRoleDO);
-
- verify(sysRoleProducer).sendRoleRefreshMessage();
- }
-
- @Test
- public void testUpdateRoleStatus_success() {
- SysRoleDO roleDO = createRoleDO("role_name", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL, CommonStatusEnum.ENABLE.getStatus());
- roleMapper.insert(roleDO);
- Long roleId = roleDO.getId();
-
- //调用
- sysRoleService.updateRoleStatus(roleId, CommonStatusEnum.DISABLE.getStatus());
-
- //断言
- SysRoleDO newRoleDO = roleMapper.selectById(roleId);
- assertEquals(CommonStatusEnum.DISABLE.getStatus(), newRoleDO.getStatus());
-
- verify(sysRoleProducer).sendRoleRefreshMessage();
- }
-
- @Test
- public void testUpdateRoleDataScope_success() {
- SysRoleDO roleDO = createRoleDO("role_name", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL);
- roleMapper.insert(roleDO);
- Long roleId = roleDO.getId();
-
- //调用
- Set deptIdSet = Arrays.asList(1L, 2L, 3L, 4L, 5L).stream().collect(Collectors.toSet());
- sysRoleService.updateRoleDataScope(roleId, DataScopeEnum.DEPT_CUSTOM.getScore(), deptIdSet);
-
- //断言
- SysRoleDO newRoleDO = roleMapper.selectById(roleId);
- assertEquals(DataScopeEnum.DEPT_CUSTOM.getScore(), newRoleDO.getDataScope());
-
- Set newDeptIdSet = newRoleDO.getDataScopeDeptIds();
- assertTrue(deptIdSet.size() == newDeptIdSet.size());
- deptIdSet.stream().forEach(d -> assertTrue(newDeptIdSet.contains(d)));
-
- verify(sysRoleProducer).sendRoleRefreshMessage();
- }
-
- @Test
- public void testDeleteRole_success() {
- SysRoleDO roleDO = createRoleDO("role_name", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL);
- roleMapper.insert(roleDO);
- Long roleId = roleDO.getId();
-
- //调用
- sysRoleService.deleteRole(roleId);
-
- //断言
- SysRoleDO newRoleDO = roleMapper.selectById(roleId);
- assertNull(newRoleDO);
-
- verify(sysRoleProducer).sendRoleRefreshMessage();
- }
-
- @Test
- public void testGetRoles_success() {
- Map idRoleMap = new HashMap<>();
- // 验证查询状态为1的角色
- SysRoleDO roleDO1 = createRoleDO("role1", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL, 1);
- roleMapper.insert(roleDO1);
- idRoleMap.put(roleDO1.getId(), roleDO1);
-
- SysRoleDO roleDO2 = createRoleDO("role2", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL, 1);
- roleMapper.insert(roleDO2);
- idRoleMap.put(roleDO2.getId(), roleDO2);
-
- // 以下是排除的角色
- SysRoleDO roleDO3 = createRoleDO("role3", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL, 2);
- roleMapper.insert(roleDO3);
-
- //调用
- List roles = sysRoleService.getRoles(Arrays.asList(1));
-
- //断言
- assertEquals(2, roles.size());
- roles.stream().forEach(r -> assertPojoEquals(idRoleMap.get(r.getId()), r));
-
- }
-
- @Test
- public void testGetRolePage_success() {
- Map idRoleMap = new HashMap<>();
- // 验证名称包含"role", 状态为1,code为"code"的角色
- // 第一页
- SysRoleDO roleDO = createRoleDO("role1", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL, 1, "code");
- roleMapper.insert(roleDO);
- idRoleMap.put(roleDO.getId(), roleDO);
- // 第二页
- roleDO = createRoleDO("role2", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL, 1, "code");
- roleMapper.insert(roleDO);
-
- // 以下是排除的角色
- roleDO = createRoleDO("role3", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL, 2, "code");
- roleMapper.insert(roleDO);
- roleDO = createRoleDO("role4", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL, 1, "xxxxx");
- roleMapper.insert(roleDO);
-
- //调用
- SysRolePageReqVO reqVO = randomPojo(SysRolePageReqVO.class, o -> {
- o.setName("role");
- o.setCode("code");
- o.setStatus(1);
- o.setPageNo(1);
- o.setPageSize(1);
- o.setBeginTime(null);
- o.setEndTime(null);
- });
- PageResult result = sysRoleService.getRolePage(reqVO);
- assertEquals(2, result.getTotal());
- result.getList().stream().forEach(r -> assertPojoEquals(idRoleMap.get(r.getId()), r));
- }
-
- @Test
- public void testCheckDuplicateRole_success() {
- sysRoleService.checkDuplicateRole(randomString(), randomString(), null);
- }
-
- @Test
- public void testCheckDuplicateRole_nameDuplicate() {
- SysRoleDO roleDO = createRoleDO("role_name", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL);
- roleMapper.insert(roleDO);
-
- String duplicateName = "role_name";
-
- assertServiceException(() -> sysRoleService.checkDuplicateRole(duplicateName, randomString(), null), ROLE_NAME_DUPLICATE, duplicateName);
- }
-
- @Test
- public void testCheckDuplicateRole_codeDuplicate() {
- SysRoleDO roleDO = randomPojo(SysRoleDO.class, o -> {
- o.setName("role_999");
- o.setCode("code");
- o.setType(SysRoleTypeEnum.CUSTOM.getType());
- o.setStatus(1);
- o.setDataScope(DataScopeEnum.ALL.getScore());
- });
- roleMapper.insert(roleDO);
-
- String randomName = randomString();
- String duplicateCode = "code";
-
- assertServiceException(() -> sysRoleService.checkDuplicateRole(randomName, duplicateCode, null), ROLE_CODE_DUPLICATE, duplicateCode);
- }
-
- @Test
- public void testCheckUpdateRole_success() {
- SysRoleDO roleDO = createRoleDO("role_name", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL);
- roleMapper.insert(roleDO);
- Long roleId = roleDO.getId();
-
- sysRoleService.checkUpdateRole(roleId);
- }
-
- @Test
- public void testCheckUpdateRole_roleIdNotExist() {
- assertServiceException(() -> sysRoleService.checkUpdateRole(randomLongId()), ROLE_NOT_EXISTS);
- }
-
- @Test
- public void testCheckUpdateRole_systemRoleCanNotBeUpdate() {
- SysRoleDO roleDO = createRoleDO("role_name", SysRoleTypeEnum.SYSTEM, DataScopeEnum.ALL);
- roleMapper.insert(roleDO);
- Long roleId = roleDO.getId();
-
- assertServiceException(() -> sysRoleService.checkUpdateRole(roleId), ROLE_CAN_NOT_UPDATE_SYSTEM_TYPE_ROLE);
- }
-
- private SysRoleDO createRoleDO(String name, SysRoleTypeEnum typeEnum, DataScopeEnum scopeEnum, Integer status) {
- return createRoleDO( name, typeEnum, scopeEnum, status, randomString());
- }
-
- private SysRoleDO createRoleDO(String name, SysRoleTypeEnum typeEnum, DataScopeEnum scopeEnum, Integer status, String code) {
- return createRoleDO(null, name, typeEnum, scopeEnum, status, code);
- }
-
- private SysRoleDO createRoleDO(String name, SysRoleTypeEnum typeEnum, DataScopeEnum scopeEnum) {
- return createRoleDO(null, name, typeEnum, scopeEnum, randomCommonStatus(), randomString());
- }
-
- private SysRoleDO createRoleDO(Long id, String name, SysRoleTypeEnum typeEnum, DataScopeEnum scopeEnum, Integer status, String code) {
- SysRoleDO roleDO = randomPojo(SysRoleDO.class, o -> {
- o.setId(id);
- o.setName(name);
- o.setType(typeEnum.getType());
- o.setStatus(status);
- o.setDataScope(scopeEnum.getScore());
- o.setCode(code);
- });
- return roleDO;
- }
-
-}
+package cn.iocoder.dashboard.modules.system.service.permission;
+
+import cn.hutool.core.bean.BeanUtil;
+import cn.iocoder.dashboard.BaseDbUnitTest;
+import cn.iocoder.dashboard.common.enums.CommonStatusEnum;
+import cn.iocoder.dashboard.common.pojo.PageResult;
+import cn.iocoder.dashboard.framework.security.core.enums.DataScopeEnum;
+import cn.iocoder.dashboard.modules.system.controller.permission.vo.role.SysRoleCreateReqVO;
+import cn.iocoder.dashboard.modules.system.controller.permission.vo.role.SysRolePageReqVO;
+import cn.iocoder.dashboard.modules.system.controller.permission.vo.role.SysRoleUpdateReqVO;
+import cn.iocoder.dashboard.modules.system.dal.dataobject.permission.SysRoleDO;
+import cn.iocoder.dashboard.modules.system.dal.mysql.permission.SysRoleMapper;
+import cn.iocoder.dashboard.modules.system.enums.permission.SysRoleTypeEnum;
+import cn.iocoder.dashboard.modules.system.mq.producer.permission.SysRoleProducer;
+import cn.iocoder.dashboard.modules.system.service.permission.impl.SysRoleServiceImpl;
+import cn.iocoder.dashboard.util.sping.SpringAopUtils;
+import org.junit.jupiter.api.Test;
+import org.springframework.boot.test.mock.mockito.MockBean;
+import org.springframework.context.annotation.Import;
+
+import javax.annotation.Resource;
+import java.util.*;
+import java.util.stream.Collectors;
+
+import static cn.iocoder.dashboard.modules.system.enums.SysErrorCodeConstants.*;
+import static cn.iocoder.dashboard.util.AssertUtils.assertPojoEquals;
+import static cn.iocoder.dashboard.util.AssertUtils.assertServiceException;
+import static cn.iocoder.dashboard.util.RandomUtils.*;
+import static cn.iocoder.dashboard.util.object.ObjectUtils.max;
+import static org.junit.jupiter.api.Assertions.*;
+import static org.mockito.Mockito.verify;
+
+@Import(SysRoleServiceImpl.class)
+public class SysRoleServiceTest extends BaseDbUnitTest {
+
+ @Resource
+ private SysRoleServiceImpl sysRoleService;
+
+ @Resource
+ private SysRoleMapper roleMapper;
+
+ @MockBean
+ private SysPermissionService sysPermissionService;
+
+ @MockBean
+ private SysRoleProducer sysRoleProducer;
+
+ @Test
+ public void testInitLocalCache_success() throws Exception {
+ SysRoleDO roleDO1 = createRoleDO("role1", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL);
+ roleMapper.insert(roleDO1);
+ SysRoleDO roleDO2 = createRoleDO("role2", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL);
+ roleMapper.insert(roleDO2);
+
+ //调用
+ sysRoleService.initLocalCache();
+
+ //断言
+ //获取代理对象
+ SysRoleServiceImpl target = (SysRoleServiceImpl) SpringAopUtils.getTarget(sysRoleService);
+
+ Map roleCache = (Map) BeanUtil.getFieldValue(target, "roleCache");
+ assertPojoEquals(roleDO1, roleCache.get(roleDO1.getId()));
+ assertPojoEquals(roleDO2, roleCache.get(roleDO2.getId()));
+
+ Date maxUpdateTime = (Date) BeanUtil.getFieldValue(target, "maxUpdateTime");
+ assertEquals(max(roleDO1.getUpdateTime(), roleDO2.getUpdateTime()), maxUpdateTime);
+ }
+
+ @Test
+ public void testCreateRole_success() {
+ SysRoleCreateReqVO reqVO = randomPojo(SysRoleCreateReqVO.class, o -> {
+ o.setCode("role_code");
+ o.setName("role_name");
+ o.setRemark("remark");
+ o.setType(SysRoleTypeEnum.CUSTOM.getType());
+ o.setSort(1);
+ });
+ Long roleId = sysRoleService.createRole(reqVO);
+
+ //断言
+ assertNotNull(roleId);
+ SysRoleDO roleDO = roleMapper.selectById(roleId);
+ assertPojoEquals(reqVO, roleDO);
+
+ verify(sysRoleProducer).sendRoleRefreshMessage();
+ }
+
+ @Test
+ public void testUpdateRole_success() {
+ SysRoleDO roleDO = createRoleDO("role_name", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL);
+ roleMapper.insert(roleDO);
+ Long roleId = roleDO.getId();
+
+ //调用
+ SysRoleUpdateReqVO reqVO = randomPojo(SysRoleUpdateReqVO.class, o -> {
+ o.setId(roleId);
+ o.setCode("role_code");
+ o.setName("update_name");
+ o.setType(SysRoleTypeEnum.SYSTEM.getType());
+ o.setSort(999);
+ });
+ sysRoleService.updateRole(reqVO);
+
+ //断言
+ SysRoleDO newRoleDO = roleMapper.selectById(roleId);
+ assertPojoEquals(reqVO, newRoleDO);
+
+ verify(sysRoleProducer).sendRoleRefreshMessage();
+ }
+
+ @Test
+ public void testUpdateRoleStatus_success() {
+ SysRoleDO roleDO = createRoleDO("role_name", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL, CommonStatusEnum.ENABLE.getStatus());
+ roleMapper.insert(roleDO);
+ Long roleId = roleDO.getId();
+
+ //调用
+ sysRoleService.updateRoleStatus(roleId, CommonStatusEnum.DISABLE.getStatus());
+
+ //断言
+ SysRoleDO newRoleDO = roleMapper.selectById(roleId);
+ assertEquals(CommonStatusEnum.DISABLE.getStatus(), newRoleDO.getStatus());
+
+ verify(sysRoleProducer).sendRoleRefreshMessage();
+ }
+
+ @Test
+ public void testUpdateRoleDataScope_success() {
+ SysRoleDO roleDO = createRoleDO("role_name", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL);
+ roleMapper.insert(roleDO);
+ Long roleId = roleDO.getId();
+
+ //调用
+ Set deptIdSet = Arrays.asList(1L, 2L, 3L, 4L, 5L).stream().collect(Collectors.toSet());
+ sysRoleService.updateRoleDataScope(roleId, DataScopeEnum.DEPT_CUSTOM.getScore(), deptIdSet);
+
+ //断言
+ SysRoleDO newRoleDO = roleMapper.selectById(roleId);
+ assertEquals(DataScopeEnum.DEPT_CUSTOM.getScore(), newRoleDO.getDataScope());
+
+ Set newDeptIdSet = newRoleDO.getDataScopeDeptIds();
+ assertTrue(deptIdSet.size() == newDeptIdSet.size());
+ deptIdSet.stream().forEach(d -> assertTrue(newDeptIdSet.contains(d)));
+
+ verify(sysRoleProducer).sendRoleRefreshMessage();
+ }
+
+ @Test
+ public void testDeleteRole_success() {
+ SysRoleDO roleDO = createRoleDO("role_name", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL);
+ roleMapper.insert(roleDO);
+ Long roleId = roleDO.getId();
+
+ //调用
+ sysRoleService.deleteRole(roleId);
+
+ //断言
+ SysRoleDO newRoleDO = roleMapper.selectById(roleId);
+ assertNull(newRoleDO);
+
+ verify(sysRoleProducer).sendRoleRefreshMessage();
+ }
+
+ @Test
+ public void testGetRoles_success() {
+ Map idRoleMap = new HashMap<>();
+ // 验证查询状态为1的角色
+ SysRoleDO roleDO1 = createRoleDO("role1", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL, 1);
+ roleMapper.insert(roleDO1);
+ idRoleMap.put(roleDO1.getId(), roleDO1);
+
+ SysRoleDO roleDO2 = createRoleDO("role2", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL, 1);
+ roleMapper.insert(roleDO2);
+ idRoleMap.put(roleDO2.getId(), roleDO2);
+
+ // 以下是排除的角色
+ SysRoleDO roleDO3 = createRoleDO("role3", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL, 2);
+ roleMapper.insert(roleDO3);
+
+ //调用
+ List roles = sysRoleService.getRoles(Arrays.asList(1));
+
+ //断言
+ assertEquals(2, roles.size());
+ roles.stream().forEach(r -> assertPojoEquals(idRoleMap.get(r.getId()), r));
+
+ }
+
+ @Test
+ public void testGetRolePage_success() {
+ Map idRoleMap = new HashMap<>();
+ // 验证名称包含"role", 状态为1,code为"code"的角色
+ // 第一页
+ SysRoleDO roleDO = createRoleDO("role1", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL, 1, "code");
+ roleMapper.insert(roleDO);
+ idRoleMap.put(roleDO.getId(), roleDO);
+ // 第二页
+ roleDO = createRoleDO("role2", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL, 1, "code");
+ roleMapper.insert(roleDO);
+
+ // 以下是排除的角色
+ roleDO = createRoleDO("role3", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL, 2, "code");
+ roleMapper.insert(roleDO);
+ roleDO = createRoleDO("role4", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL, 1, "xxxxx");
+ roleMapper.insert(roleDO);
+
+ //调用
+ SysRolePageReqVO reqVO = randomPojo(SysRolePageReqVO.class, o -> {
+ o.setName("role");
+ o.setCode("code");
+ o.setStatus(1);
+ o.setPageNo(1);
+ o.setPageSize(1);
+ o.setBeginTime(null);
+ o.setEndTime(null);
+ });
+ PageResult result = sysRoleService.getRolePage(reqVO);
+ assertEquals(2, result.getTotal());
+ result.getList().stream().forEach(r -> assertPojoEquals(idRoleMap.get(r.getId()), r));
+ }
+
+ @Test
+ public void testCheckDuplicateRole_success() {
+ sysRoleService.checkDuplicateRole(randomString(), randomString(), null);
+ }
+
+ @Test
+ public void testCheckDuplicateRole_nameDuplicate() {
+ SysRoleDO roleDO = createRoleDO("role_name", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL);
+ roleMapper.insert(roleDO);
+
+ String duplicateName = "role_name";
+
+ assertServiceException(() -> sysRoleService.checkDuplicateRole(duplicateName, randomString(), null), ROLE_NAME_DUPLICATE, duplicateName);
+ }
+
+ @Test
+ public void testCheckDuplicateRole_codeDuplicate() {
+ SysRoleDO roleDO = randomPojo(SysRoleDO.class, o -> {
+ o.setName("role_999");
+ o.setCode("code");
+ o.setType(SysRoleTypeEnum.CUSTOM.getType());
+ o.setStatus(1);
+ o.setDataScope(DataScopeEnum.ALL.getScore());
+ });
+ roleMapper.insert(roleDO);
+
+ String randomName = randomString();
+ String duplicateCode = "code";
+
+ assertServiceException(() -> sysRoleService.checkDuplicateRole(randomName, duplicateCode, null), ROLE_CODE_DUPLICATE, duplicateCode);
+ }
+
+ @Test
+ public void testCheckUpdateRole_success() {
+ SysRoleDO roleDO = createRoleDO("role_name", SysRoleTypeEnum.CUSTOM, DataScopeEnum.ALL);
+ roleMapper.insert(roleDO);
+ Long roleId = roleDO.getId();
+
+ sysRoleService.checkUpdateRole(roleId);
+ }
+
+ @Test
+ public void testCheckUpdateRole_roleIdNotExist() {
+ assertServiceException(() -> sysRoleService.checkUpdateRole(randomLongId()), ROLE_NOT_EXISTS);
+ }
+
+ @Test
+ public void testCheckUpdateRole_systemRoleCanNotBeUpdate() {
+ SysRoleDO roleDO = createRoleDO("role_name", SysRoleTypeEnum.SYSTEM, DataScopeEnum.ALL);
+ roleMapper.insert(roleDO);
+ Long roleId = roleDO.getId();
+
+ assertServiceException(() -> sysRoleService.checkUpdateRole(roleId), ROLE_CAN_NOT_UPDATE_SYSTEM_TYPE_ROLE);
+ }
+
+ private SysRoleDO createRoleDO(String name, SysRoleTypeEnum typeEnum, DataScopeEnum scopeEnum, Integer status) {
+ return createRoleDO( name, typeEnum, scopeEnum, status, randomString());
+ }
+
+ private SysRoleDO createRoleDO(String name, SysRoleTypeEnum typeEnum, DataScopeEnum scopeEnum, Integer status, String code) {
+ return createRoleDO(null, name, typeEnum, scopeEnum, status, code);
+ }
+
+ private SysRoleDO createRoleDO(String name, SysRoleTypeEnum typeEnum, DataScopeEnum scopeEnum) {
+ return createRoleDO(null, name, typeEnum, scopeEnum, randomCommonStatus(), randomString());
+ }
+
+ private SysRoleDO createRoleDO(Long id, String name, SysRoleTypeEnum typeEnum, DataScopeEnum scopeEnum, Integer status, String code) {
+ SysRoleDO roleDO = randomPojo(SysRoleDO.class, o -> {
+ o.setId(id);
+ o.setName(name);
+ o.setType(typeEnum.getType());
+ o.setStatus(status);
+ o.setDataScope(scopeEnum.getScore());
+ o.setCode(code);
+ });
+ return roleDO;
+ }
+
+}
diff --git a/src/test/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsChannelServiceTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsChannelServiceTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsChannelServiceTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsChannelServiceTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsLogServiceTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsLogServiceTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsLogServiceTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsLogServiceTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsServiceTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsServiceTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsServiceTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsServiceTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsTemplateServiceTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsTemplateServiceTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsTemplateServiceTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/sms/SysSmsTemplateServiceTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/modules/system/service/user/SysUserServiceImplTest.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/user/SysUserServiceImplTest.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/modules/system/service/user/SysUserServiceImplTest.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/modules/system/service/user/SysUserServiceImplTest.java
diff --git a/src/test/java/cn/iocoder/dashboard/util/AssertUtils.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/util/AssertUtils.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/util/AssertUtils.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/util/AssertUtils.java
diff --git a/src/test/java/cn/iocoder/dashboard/util/RandomUtils.java b/yudao-admin-server/src/test/java/cn/iocoder/dashboard/util/RandomUtils.java
similarity index 100%
rename from src/test/java/cn/iocoder/dashboard/util/RandomUtils.java
rename to yudao-admin-server/src/test/java/cn/iocoder/dashboard/util/RandomUtils.java
diff --git a/src/test/resources/application-unit-test.yaml b/yudao-admin-server/src/test/resources/application-unit-test.yaml
similarity index 100%
rename from src/test/resources/application-unit-test.yaml
rename to yudao-admin-server/src/test/resources/application-unit-test.yaml
diff --git a/src/test/resources/file/erweima.jpg b/yudao-admin-server/src/test/resources/file/erweima.jpg
similarity index 100%
rename from src/test/resources/file/erweima.jpg
rename to yudao-admin-server/src/test/resources/file/erweima.jpg
diff --git a/src/test/resources/sql/clean.sql b/yudao-admin-server/src/test/resources/sql/clean.sql
similarity index 100%
rename from src/test/resources/sql/clean.sql
rename to yudao-admin-server/src/test/resources/sql/clean.sql
diff --git a/src/test/resources/sql/create_tables.sql b/yudao-admin-server/src/test/resources/sql/create_tables.sql
similarity index 100%
rename from src/test/resources/sql/create_tables.sql
rename to yudao-admin-server/src/test/resources/sql/create_tables.sql
diff --git a/yudao-dependencies/pom.xml b/yudao-dependencies/pom.xml
new file mode 100644
index 000000000..9a333dc37
--- /dev/null
+++ b/yudao-dependencies/pom.xml
@@ -0,0 +1,37 @@
+
+
+ 4.0.0
+
+ cn.iocoder.boot
+ yudao-dependencies
+ ${revision}
+ pom
+
+ yudao-dependencies
+ 基础 bom 文件,管理整个项目的依赖版本
+ https://github.com/YunaiV/ruoyi-vue-pro
+
+
+ 1.0.0
+
+
+ 2.4.4
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-dependencies
+ ${spring.boot.version}
+ pom
+ import
+
+
+
+
+
+