Fixed:修复了手机号空值校验逻辑错误的问题。

This commit is contained in:
JackZhai 2024-03-20 16:17:02 +08:00
parent 5a1641aed0
commit e7991ddba4

View File

@ -60,7 +60,7 @@ public class CoreMethodParamValidateProcessor implements CoreMethodProcessor {
}
public void validatePhone(String phone) {
if (StrUtil.isNotEmpty(phone)) {
if (StrUtil.isBlank(phone)) {
throw new SmsBlendException("cant send message to null!");
}
}