Files
wms-cloud/项目说明.md
zhangzq b2d13575d1 init
2026-05-18 15:58:26 +08:00

41 lines
1.3 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版本对应jdk21编译统一使用jdk21版本
#### 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
## 项目结构说明
wms-cloud ---根
--wms-gateway 登录鉴权
--wms-iam 用户管理 用户菜单部门权限
---wms-iam-api 对外feign接口
---wms-iam-server 服务实现模块
。。。。。。
示例1.财务模块 创建了api,gateWay应用wms-iam-api调用
http://localhost:8012/api/gateway
## 开发规范
1.所有实体对象统一驼峰命名
2.controller层参数接收返回必须使用实体对象并在api模块定义
3.各子模块业务上如server有多个功能模块按如下结构定义
|----xxx-server
org.nl.xxx
-- 功能模块1
-controller
-service
-mapper
-entity
-dto
-impl