# gulimail
**Repository Path**: llllhhh/gulimail
## Basic Information
- **Project Name**: gulimail
- **Description**: 谷粒商城
- **Primary Language**: Java
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-06-16
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# gulimail
#### 介绍
谷粒商城
product服务端口:8001
coupon服务端口: 8002
member服务端口: 8003
order服务端口: 8004
ware 服务端口: 8005
人人后台服务端口: 8006
人人前端页面端口: 8007
es搜索服务端口: 8008
购物车服务端口: 8009
nacos服务端口 : 8848
API网关端口: 81
第三方服务端口: 82
认证服务: 83
#### 软件架构
##### SpringCloudAlibaba 组件版本关系
| Spring Cloud Alibaba Version | Sentinel Version | Nacos Version | RocketMQ Version | Dubbo Version | Seata Version |
| ----------------------------------------------- | ---------------- | ------------- | ---------------- | ------------- | ------------- |
| 2.2.1.RELEASE or 2.1.2.RELEASE or 2.0.2.RELEASE | 1.7.1 | 1.2.1 | 4.4.0 | 2.7.6 | 1.2.0 |
| 2.2.0.RELEASE | 1.7.1 | 1.1.4 | 4.4.0 | 2.7.4.1 | 1.0.0 |
| 2.1.1.RELEASE or 2.0.1.RELEASE or 1.5.1.RELEASE | 1.7.0 | 1.1.4 | 4.4.0 | 2.7.3 | 0.9.0 |
| 2.1.0.RELEASE or 2.0.0.RELEASE or 1.5.0.RELEASE | 1.6.3 | 1.1.1 | 4.4.0 | 2.7.3 | 0.7.1 |
##### 毕业版本依赖关系(推荐使用)
| Spring Cloud Version | Spring Cloud Alibaba Version | Spring Boot Version |
| --------------------------- | ---------------------------- | ------------------- |
| Spring Cloud Hoxton.SR3 | 2.2.1.RELEASE | 2.2.5.RELEASE |
| Spring Cloud Hoxton.RELEASE | 2.2.0.RELEASE | 2.2.X.RELEASE |
| Spring Cloud Greenwich | 2.1.2.RELEASE | 2.1.X.RELEASE |
| Spring Cloud Finchley | 2.0.2.RELEASE | 2.0.X.RELEASE |
| Spring Cloud Edgware | 1.5.1.RELEASE | 1.5.X.RELEASE |
##### 依赖管理
Spring Cloud Alibaba BOM 包含了它所使用的所有依赖的版本。
Spring Cloud Hoxton
如果需要使用 `Spring Cloud Hoxton` 版本,请在 dependencyManagement 中添加如下内容
```xml
com.alibaba.cloud
spring-cloud-alibaba-dependencies
2.2.1.RELEASE
pom
import
```
Spring Cloud Greenwich
如果需要使用 `Spring Cloud Greenwich` 版本,请在 dependencyManagement 中添加如下内容
```xml
com.alibaba.cloud
spring-cloud-alibaba-dependencies
2.1.2.RELEASE
pom
import
```
Spring Cloud Finchley
如果需要使用 `Spring Cloud Finchley` 版本,请在 dependencyManagement 中添加如下内容
```xml
com.alibaba.cloud
spring-cloud-alibaba-dependencies
2.0.2.RELEASE
pom
import
```
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 技术总结

#### 遇到的问题
- 使用Feign远程调用服务功能后,返回的对象会被自动转换成LinkedHashMap。需要手动转换成所需的对象。
- > 原因:因为rpc远程调用在底层还是使用的HTTPClient,所以在传递参数的时候,必定要有个顺序,当你传递map的时候map里面的值也要有顺 序,不然服务层在接的时候就出问题了,所以它才会从map转为linkedhashMap!spring 有一个类叫ModelMap,继承了linkedhashMap public class ModelMap extends LinkedHashMap ,所以一个接口返回的结果就可以直接用ModelMap来接,注意ModelMap是没有泛型的,不管你返回的结果是什么类型的map,泛型是多复杂的map,都可以直接new一个Modelmap,用它来接返回的结果!!!