init
This commit is contained in:
40
README.md
Normal file
40
README.md
Normal file
@@ -0,0 +1,40 @@
|
||||
## 项目调用参考服务交互时序图
|
||||
## 项目技术要求
|
||||
#### 1.springboot使用3.2.10版本,对应jdk17+,编译统一使用jdk17版本
|
||||
#### 2.springcloud使用alibaba版本
|
||||
<spring-cloud.version>2023.0.5</spring-cloud.version>
|
||||
<spring-cloud-alibaba.version>2023.0.1.2</spring-cloud-alibaba.version>
|
||||
#### 3.nacos自行搭建,yml配置如下
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: localhost:8848
|
||||
namespace: dev
|
||||
enabled: true
|
||||
#### 4.FeignClient目前通过指定url方式
|
||||
后续使用Spring Cloud LoadBalancer
|
||||
#### 5.数据库持久层框架使用mybatis-plus
|
||||
|
||||
## 项目结构说明
|
||||
omsCloud ---根
|
||||
|--gateway 登录鉴权
|
||||
|--userManage 用户管理 用户菜单部门权限
|
||||
| |---user-Api 对外feign接口
|
||||
| |---user-server 服务实现模块
|
||||
。。。。。。
|
||||
示例:1.财务模块 创建了api,gateWay应用finnace-api调用
|
||||
http://localhost:8012/api/gateway
|
||||
|
||||
## 开发规范
|
||||
1.所有实体对象统一驼峰命名
|
||||
2.controller层参数接收,返回必须使用实体对象,并在api模块定义
|
||||
3.各子模块业务上如server有多个功能模块按如下结构定义
|
||||
|----xxx-server
|
||||
org.nl.xxx
|
||||
|-- 功能模块1
|
||||
|-controller
|
||||
|-service
|
||||
|-mapper
|
||||
|-entity
|
||||
|-dto
|
||||
|-impl
|
||||
|
||||
Reference in New Issue
Block a user