Files
oms-cloud/README.md
zhangzq ffd7bbfe72 init
2026-04-02 10:58:56 +08:00

41 lines
1.4 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 项目调用参考服务交互时序图
## 项目技术要求
#### 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