Commit 1465d064dd5aca002c27cf50712395495f5810e1
Committed by
Gitee
!307 调用获取地址参数顺序错误
Merge pull request !307 from plimlips/N/A
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/service/order/TradeOrderServiceImpl.java
| ... | ... | @@ -156,7 +156,7 @@ public class TradeOrderServiceImpl implements TradeOrderService { |
| 156 | 156 | * @return 收件地址 |
| 157 | 157 | */ |
| 158 | 158 | private AddressRespDTO validateAddress(Long userId, Long addressId) { |
| 159 | - AddressRespDTO address = addressApi.getAddress(userId, addressId); | |
| 159 | + AddressRespDTO address = addressApi.getAddress(addressId, userId); | |
| 160 | 160 | if (Objects.isNull(address)) { |
| 161 | 161 | throw exception(ErrorCodeConstants.ORDER_CREATE_ADDRESS_NOT_FOUND); |
| 162 | 162 | } | ... | ... |