...
|
...
|
@@ -213,7 +213,7 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { |
|
|
}else{
|
|
|
if(changedAddress.getAddress().contains("*")){
|
|
|
logger.warn("dbAddressInfo_hidden is null ,uid {} ,orderCode {} , invalid address with * {}",uid,orderCode,changedAddress.getAddress());
|
|
|
throw new UfoServiceException(400,"详细地址信息格式填写错误");
|
|
|
throw new UfoServiceException(400,"详细地址不支持特殊符号");
|
|
|
}
|
|
|
}
|
|
|
//收货人没有变化
|
...
|
...
|
@@ -222,7 +222,7 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { |
|
|
}else{
|
|
|
if(changedAddress.getConsignee().contains("*")){
|
|
|
logger.warn("dbAddressInfo_hidden is null ,uid {} ,orderCode {} , invalid consignee with * {}",uid,orderCode,changedAddress.getConsignee());
|
|
|
throw new UfoServiceException(400,"收货人格式填写错误");
|
|
|
throw new UfoServiceException(400,"收货人不支持特殊符号");
|
|
|
}
|
|
|
}
|
|
|
//手机号没有变化
|
...
|
...
|
@@ -231,7 +231,7 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { |
|
|
}else{
|
|
|
if(!UserInfoHiddenHelper.isPhone(changedAddress.getMobile())){
|
|
|
logger.warn("dbAddressInfo_hidden is null ,uid {} ,orderCode {} , invalid mobile {}",uid,orderCode,changedAddress.getMobile());
|
|
|
throw new UfoServiceException(400,"手机号码格式填写错误");
|
|
|
throw new UfoServiceException(400,"请填写正确的手机号码");
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|