Commit fe0840cde8041da03abf1eee06a6cc690bd79ffc
1 parent
1138376f
fix:【MALL 商城】linux 部署时,express.client 配置项,因为大写无法识别
Showing
2 changed files
with
4 additions
and
4 deletions
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/framework/delivery/core/enums/ExpressClientEnum.java
| @@ -12,9 +12,9 @@ import lombok.Getter; | @@ -12,9 +12,9 @@ import lombok.Getter; | ||
| 12 | @AllArgsConstructor | 12 | @AllArgsConstructor |
| 13 | public enum ExpressClientEnum { | 13 | public enum ExpressClientEnum { |
| 14 | 14 | ||
| 15 | - NOT_PROVIDE("not-provide","未提供"), | ||
| 16 | - KD_NIAO("kd-niao", "快递鸟"), | ||
| 17 | - KD_100("kd-100", "快递100"); | 15 | + NOT_PROVIDE("not_provide","未提供"), |
| 16 | + KD_NIAO("kd_niao", "快递鸟"), | ||
| 17 | + KD_100("kd_100", "快递100"); | ||
| 18 | 18 | ||
| 19 | /** | 19 | /** |
| 20 | * 快递服务商唯一编码 | 20 | * 快递服务商唯一编码 |
yudao-server/src/main/resources/application.yaml
| @@ -349,7 +349,7 @@ yudao: | @@ -349,7 +349,7 @@ yudao: | ||
| 349 | receive-expire-time: 14d # 收货的过期时间 | 349 | receive-expire-time: 14d # 收货的过期时间 |
| 350 | comment-expire-time: 7d # 评论的过期时间 | 350 | comment-expire-time: 7d # 评论的过期时间 |
| 351 | express: | 351 | express: |
| 352 | - client: KD_NIAO | 352 | + client: kd_100 |
| 353 | kd-niao: | 353 | kd-niao: |
| 354 | api-key: cb022f1e-48f1-4c4a-a723-9001ac9676b8 | 354 | api-key: cb022f1e-48f1-4c4a-a723-9001ac9676b8 |
| 355 | business-id: 1809751 | 355 | business-id: 1809751 |