From 19a6fc79a2396be5cdd0ee60e9fb017b2124e720 Mon Sep 17 00:00:00 2001 From: plimlips <156839224@qq.com> Date: Sun, 20 Nov 2022 12:05:18 +0000 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E7=94=A8=E8=8E=B7=E5=8F=96=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E5=8F=82=E6=95=B0=E9=A1=BA=E5=BA=8F=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: plimlips <156839224@qq.com> --- .../yudao/module/trade/service/order/TradeOrderServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }