mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-11-04 21:01:38 +08:00 
			
		
		
		
	refactor: 优化项目模块命名(简化、分类、统一)
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/deploy.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/deploy.yml
									
									
									
									
										vendored
									
									
								
							@@ -35,7 +35,7 @@ jobs:
 | 
				
			|||||||
          port: ${{ secrets.SERVER_PORT }}
 | 
					          port: ${{ secrets.SERVER_PORT }}
 | 
				
			||||||
          username: ${{ secrets.SERVER_USERNAME }}
 | 
					          username: ${{ secrets.SERVER_USERNAME }}
 | 
				
			||||||
          password: ${{ secrets.SERVER_PASSWORD }}
 | 
					          password: ${{ secrets.SERVER_PASSWORD }}
 | 
				
			||||||
          source: ./continew-admin-webapi/target/app/*
 | 
					          source: ./continew-webapi/target/app/*
 | 
				
			||||||
          target: /docker/continew-admin
 | 
					          target: /docker/continew-admin
 | 
				
			||||||
          strip_components: 3
 | 
					          strip_components: 3
 | 
				
			||||||
      # 5、启动
 | 
					      # 5、启动
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										22
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								README.md
									
									
									
									
									
								
							@@ -279,7 +279,7 @@ git clone https://github.com/continew-org/continew-admin.git
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
continew-admin
 | 
					continew-admin
 | 
				
			||||||
├─ continew-admin-webapi(API 及打包部署模块)
 | 
					├─ continew-webapi(API 及打包部署模块)
 | 
				
			||||||
│  ├─ src
 | 
					│  ├─ src
 | 
				
			||||||
│  │  ├─ main
 | 
					│  │  ├─ main
 | 
				
			||||||
│  │  │  ├─ java/top/continew/admin
 | 
					│  │  │  ├─ java/top/continew/admin
 | 
				
			||||||
@@ -305,7 +305,7 @@ continew-admin
 | 
				
			|||||||
│  │  │     └─ logback-spring.xml(日志配置文件)
 | 
					│  │  │     └─ logback-spring.xml(日志配置文件)
 | 
				
			||||||
│  │  └─ test(测试相关代码目录)
 | 
					│  │  └─ test(测试相关代码目录)
 | 
				
			||||||
│  └─ pom.xml(包含打包相关配置)
 | 
					│  └─ pom.xml(包含打包相关配置)
 | 
				
			||||||
├─ continew-admin-system(系统管理模块,存放系统管理相关业务功能,例如:部门管理、角色管理、用户管理等)
 | 
					├─ continew-module-system(系统管理模块,存放系统管理相关业务功能,例如:部门管理、角色管理、用户管理等)
 | 
				
			||||||
│  ├─ src
 | 
					│  ├─ src
 | 
				
			||||||
│  │  ├─ main
 | 
					│  │  ├─ main
 | 
				
			||||||
│  │  │  ├─ java/top/continew/admin
 | 
					│  │  │  ├─ java/top/continew/admin
 | 
				
			||||||
@@ -329,10 +329,10 @@ continew-admin
 | 
				
			|||||||
│  │  │     └─ mapper(系统管理相关 Mapper XML 文件目录)
 | 
					│  │  │     └─ mapper(系统管理相关 Mapper XML 文件目录)
 | 
				
			||||||
│  │  └─ test(测试相关代码目录)
 | 
					│  │  └─ test(测试相关代码目录)
 | 
				
			||||||
│  └─ pom.xml
 | 
					│  └─ pom.xml
 | 
				
			||||||
├─ continew-admin-plugins(插件模块,存放代码生成、任务调度等扩展模块,后续会进行插件化改造)
 | 
					├─ continew-plugin(插件模块,存放代码生成、任务调度等扩展模块,后续会进行插件化改造)
 | 
				
			||||||
│  ├─ continew-admin-job(任务调度插件模块)
 | 
					│  ├─ continew-plugin-schedule(任务调度插件模块)
 | 
				
			||||||
│  │  ├─ src
 | 
					│  │  ├─ src
 | 
				
			||||||
│  │  │  ├─ main/java/top/continew/admin/job
 | 
					│  │  │  ├─ main/java/top/continew/admin/schedule
 | 
				
			||||||
│  │  │  │  ├─ api(任务调度中心相关 API)
 | 
					│  │  │  │  ├─ api(任务调度中心相关 API)
 | 
				
			||||||
│  │  │  │  ├─ config(任务调度相关配置)
 | 
					│  │  │  │  ├─ config(任务调度相关配置)
 | 
				
			||||||
│  │  │  │  ├─ constant(任务调度相关常量)
 | 
					│  │  │  │  ├─ constant(任务调度相关常量)
 | 
				
			||||||
@@ -344,7 +344,7 @@ continew-admin
 | 
				
			|||||||
│  │  │  │  └─ service(代码生成器相关业务接口及实现类)
 | 
					│  │  │  │  └─ service(代码生成器相关业务接口及实现类)
 | 
				
			||||||
│  │  │  └─ test(测试相关代码目录)
 | 
					│  │  │  └─ test(测试相关代码目录)
 | 
				
			||||||
│  │  └─ pom.xml
 | 
					│  │  └─ pom.xml
 | 
				
			||||||
│  ├─ continew-admin-generator(代码生成器插件模块)
 | 
					│  ├─ continew-plugin-generator(代码生成器插件模块)
 | 
				
			||||||
│  │  ├─ src
 | 
					│  │  ├─ src
 | 
				
			||||||
│  │  │  ├─ main
 | 
					│  │  │  ├─ main
 | 
				
			||||||
│  │  │  │  ├─ java/top/continew/admin/generator
 | 
					│  │  │  │  ├─ java/top/continew/admin/generator
 | 
				
			||||||
@@ -364,7 +364,7 @@ continew-admin
 | 
				
			|||||||
│  │  │  └─ test(测试相关代码目录)
 | 
					│  │  │  └─ test(测试相关代码目录)
 | 
				
			||||||
│  │  └─ pom.xml
 | 
					│  │  └─ pom.xml
 | 
				
			||||||
│  └─ pom.xml
 | 
					│  └─ pom.xml
 | 
				
			||||||
├─ continew-admin-common(公共模块,存放公共工具类,公共配置等)
 | 
					├─ continew-common(公共模块,存放公共工具类,公共配置等)
 | 
				
			||||||
│  ├─ src
 | 
					│  ├─ src
 | 
				
			||||||
│  │  ├─ main/java/top/continew/admin/common
 | 
					│  │  ├─ main/java/top/continew/admin/common
 | 
				
			||||||
│  │  │  ├─ config(公共配置)
 | 
					│  │  │  ├─ config(公共配置)
 | 
				
			||||||
@@ -377,12 +377,12 @@ continew-admin
 | 
				
			|||||||
│  │  │  └─ util(公共工具类)
 | 
					│  │  │  └─ util(公共工具类)
 | 
				
			||||||
│  │  └─ test(测试相关代码目录)
 | 
					│  │  └─ test(测试相关代码目录)
 | 
				
			||||||
│  └─ pom.xml
 | 
					│  └─ pom.xml
 | 
				
			||||||
├─ continew-admin-extension(扩展模块)
 | 
					├─ continew-extension(扩展模块)
 | 
				
			||||||
│  ├─ continew-admin-job-server(任务调度服务模块,实际开发时如果是公司统一提供环境,可直接删除本模块)
 | 
					│  ├─ continew-extension-schedule-server(任务调度服务端模块,实际开发时如果是公司统一提供环境,可直接删除本模块)
 | 
				
			||||||
│  │  ├─ src
 | 
					│  │  ├─ src
 | 
				
			||||||
│  │  │  ├─ main
 | 
					│  │  │  ├─ main
 | 
				
			||||||
│  │  │  │  ├─ java/top/continew/admin/extension/job
 | 
					│  │  │  │  ├─ java/top/continew/admin/extension/schedule
 | 
				
			||||||
│  │  │  │  │  └─ JobServerApplication.java(任务调度服务启动程序)
 | 
					│  │  │  │  │  └─ ScheduleServerApplication.java(任务调度服务端启动程序)
 | 
				
			||||||
│  │  │  │  └─ resources
 | 
					│  │  │  │  └─ resources
 | 
				
			||||||
│  │  │  │     ├─ config(核心配置目录)
 | 
					│  │  │  │     ├─ config(核心配置目录)
 | 
				
			||||||
│  │  │  │     │  ├─ application-dev.yml(开发环境配置文件)
 | 
					│  │  │  │     │  ├─ application-dev.yml(开发环境配置文件)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,7 +9,7 @@
 | 
				
			|||||||
        <version>${revision}</version>
 | 
					        <version>${revision}</version>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <artifactId>continew-admin-common</artifactId>
 | 
					    <artifactId>continew-common</artifactId>
 | 
				
			||||||
    <description>公共模块(存放公共工具类,公共配置等)</description>
 | 
					    <description>公共模块(存放公共工具类,公共配置等)</description>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <dependencies>
 | 
					    <dependencies>
 | 
				
			||||||
@@ -5,12 +5,12 @@
 | 
				
			|||||||
    <modelVersion>4.0.0</modelVersion>
 | 
					    <modelVersion>4.0.0</modelVersion>
 | 
				
			||||||
    <parent>
 | 
					    <parent>
 | 
				
			||||||
        <groupId>top.continew</groupId>
 | 
					        <groupId>top.continew</groupId>
 | 
				
			||||||
        <artifactId>continew-admin-extension</artifactId>
 | 
					        <artifactId>continew-extension</artifactId>
 | 
				
			||||||
        <version>${revision}</version>
 | 
					        <version>${revision}</version>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <artifactId>continew-admin-job-server</artifactId>
 | 
					    <artifactId>continew-extension-schedule-server</artifactId>
 | 
				
			||||||
    <description>任务调度服务模块</description>
 | 
					    <description>任务调度服务端</description>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <properties>
 | 
					    <properties>
 | 
				
			||||||
        <!-- SnailJob 服务端 -->
 | 
					        <!-- SnailJob 服务端 -->
 | 
				
			||||||
@@ -14,19 +14,19 @@
 | 
				
			|||||||
 * limitations under the License.
 | 
					 * limitations under the License.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
package top.continew.admin.extension.job;
 | 
					package top.continew.admin.extension.scheduling;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import org.springframework.boot.SpringApplication;
 | 
					import org.springframework.boot.SpringApplication;
 | 
				
			||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
 | 
					import org.springframework.boot.autoconfigure.SpringBootApplication;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * 任务调度服务启动程序
 | 
					 * 任务调度服务端启动程序
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * @author KAI
 | 
					 * @author KAI
 | 
				
			||||||
 * @since 2024/6/25 22:24
 | 
					 * @since 2024/6/25 22:24
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
@SpringBootApplication
 | 
					@SpringBootApplication
 | 
				
			||||||
public class JobServerApplication {
 | 
					public class ScheduleServerApplication {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public static void main(String[] args) {
 | 
					    public static void main(String[] args) {
 | 
				
			||||||
        SpringApplication.run(com.aizuda.snailjob.server.SnailJobServerApplication.class, args);
 | 
					        SpringApplication.run(com.aizuda.snailjob.server.SnailJobServerApplication.class, args);
 | 
				
			||||||
@@ -7,12 +7,11 @@
 | 
				
			|||||||
        <version>${revision}</version>
 | 
					        <version>${revision}</version>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <artifactId>continew-admin-extension</artifactId>
 | 
					    <artifactId>continew-extension</artifactId>
 | 
				
			||||||
    <packaging>pom</packaging>
 | 
					    <packaging>pom</packaging>
 | 
				
			||||||
    <description>扩展模块(存放其他扩展模块)</description>
 | 
					    <description>扩展模块(存放其他扩展模块)</description>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
    <modules>
 | 
					    <modules>
 | 
				
			||||||
        <module>continew-admin-job-server</module>
 | 
					        <module>continew-extension-schedule-server</module>
 | 
				
			||||||
    </modules>
 | 
					    </modules>
 | 
				
			||||||
</project>
 | 
					</project>
 | 
				
			||||||
@@ -9,14 +9,14 @@
 | 
				
			|||||||
        <version>${revision}</version>
 | 
					        <version>${revision}</version>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <artifactId>continew-admin-system</artifactId>
 | 
					    <artifactId>continew-module-system</artifactId>
 | 
				
			||||||
    <description>系统管理模块(存放系统管理相关业务功能,例如:部门管理、角色管理、用户管理等)</description>
 | 
					    <description>系统管理模块(存放系统管理相关业务功能,例如:部门管理、角色管理、用户管理等)</description>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <dependencies>
 | 
					    <dependencies>
 | 
				
			||||||
        <!-- 公共模块(存放公共工具类,公共配置等) -->
 | 
					        <!-- 公共模块(存放公共工具类,公共配置等) -->
 | 
				
			||||||
        <dependency>
 | 
					        <dependency>
 | 
				
			||||||
            <groupId>top.continew</groupId>
 | 
					            <groupId>top.continew</groupId>
 | 
				
			||||||
            <artifactId>continew-admin-common</artifactId>
 | 
					            <artifactId>continew-common</artifactId>
 | 
				
			||||||
        </dependency>
 | 
					        </dependency>
 | 
				
			||||||
    </dependencies>
 | 
					    </dependencies>
 | 
				
			||||||
</project>
 | 
					</project>
 | 
				
			||||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user