diff --git a/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/service/order/TradeOrderServiceImpl.java b/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/service/order/TradeOrderServiceImpl.java index 95df76afe..ac38f3cbf 100644 --- a/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/service/order/TradeOrderServiceImpl.java +++ b/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 { * @return 收件地址 */ private AddressRespDTO validateAddress(Long userId, Long addressId) { - AddressRespDTO address = addressApi.getAddress(userId, addressId); + AddressRespDTO address = addressApi.getAddress(addressId, userId); if (Objects.isNull(address)) { throw exception(ErrorCodeConstants.ORDER_CREATE_ADDRESS_NOT_FOUND); }