mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 01:01:52 +08:00
调用获取地址参数顺序错误
Signed-off-by: plimlips <156839224@qq.com>
This commit is contained in:
parent
dbf237a1f3
commit
19a6fc79a2
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user