Authored by qinchao

fix 修改地址时,手机号码去空

... ... @@ -51,8 +51,14 @@ public class BuyerOrderMetaServiceImpl implements IBuyerOrderMetaService {
throw new ServiceException(400,"参数错误,收货人不能为空");
}
if(StringUtils.isBlank(str_mobile)||!UserInfoHiddenHelper.isPhone(str_mobile)){
if(StringUtils.isBlank(str_mobile)){
logger.warn("BuyerOrderMetaServiceImpl updateDeliveryAddress mobile empty ");
throw new ServiceException(400,"参数错误,手机号不能为空");
}
str_mobile = str_mobile.trim();
if(!UserInfoHiddenHelper.isPhone(str_mobile)){
logger.warn("BuyerOrderMetaServiceImpl updateDeliveryAddress mobile not correct ");
throw new ServiceException(400,"参数错误,手机号不合法");
}
... ...