!307 调用获取地址参数顺序错误

Merge pull request !307 from plimlips/N/A
plp
芋道源码 3 years ago committed by Gitee
commit 1465d064dd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -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…
Cancel
Save