...
|
...
|
@@ -191,7 +191,7 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { |
|
|
if(buyerOrder.getStatus()==null){
|
|
|
logger.warn("buyerModifyAddress check orderCode status is null, uid is {}, orderCode is {} ,status is {}",
|
|
|
uid, orderCode,buyerOrder.getStatus() );
|
|
|
throw new ServiceException(ServiceError.ORDER_STATUS_INVALIDATE);
|
|
|
throw new UfoServiceException(400,"订单状态已变,不允许修改地址");
|
|
|
}
|
|
|
|
|
|
//买家已付款,卖家已发货,只有这两种状态的情况下,才允许改地址
|
...
|
...
|
@@ -199,7 +199,7 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { |
|
|
if(!allowChange){
|
|
|
logger.warn("buyerModifyAddress check orderCode status not invalid, uid is {}, orderCode is {} ,status is {}",
|
|
|
uid, orderCode,buyerOrder.getStatus() );
|
|
|
throw new ServiceException(ServiceError.ORDER_STATUS_INVALIDATE);
|
|
|
throw new UfoServiceException(400,"订单状态变更,不允许修改地址");
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|