fix: 包模块提示定义

This commit is contained in:
2025-11-21 13:42:13 +08:00
parent b3a3d3761c
commit c5b047a921
5 changed files with 42 additions and 12 deletions

View File

@@ -4,3 +4,25 @@
task->api->调度
## 模块
nl-web-app: 启动模块
需要吧所有的controller的模块引入
nl-common: 通用模块
api模块引入此模块其他模块可以独自引入
nl-apiapi模块
(业务之间相互调用的交互模块)
nl-business-xxx: 业务模块
通过api模块互相调用
## 结构
1、所有的依赖版本管理都放到最外层的pmx中管理
2、各自模块引入则不需要添加版本号
3、新建模块需要引入api模块并且在web模块中引入新建的模块最外层pom需要定义新建模块的版本号使用<nl-vesion>

View File

@@ -1,11 +0,0 @@
package org.nl;
/**
* @Author: lyd
* @Date: ${DATE}
*/
public class Main {
public static void main(String[] args) {
System.out.println("Hello world!");
}
}

View File

@@ -0,0 +1,6 @@
/**
* 每个模块对应的核心包:用于工具、枚举、处理器等
* @Author: lyd
* @Date: 2025/11/21
*/
package org.nl.sys.core;

View File

@@ -0,0 +1,7 @@
/**
* 具体功能模块的分包
* 子功能里面必须有provider包里面定义xxxProvider类需要添加@Service去实现API模块对应接口方法。
* @Author: lyd
* @Date: 2025/11/21
*/
package org.nl.sys.modular;

View File

@@ -0,0 +1,6 @@
/**
* 系统模块
* @Author: lyd
* @Date: 2025/11/21
*/
package org.nl.sys;