修复主播可以自己点整蛊拯救的问题

调整整蛊设置
This commit is contained in:
2022-12-14 18:11:41 +08:00
parent 6929276512
commit b827f7bfa6
4 changed files with 27 additions and 5 deletions

View File

@@ -150,4 +150,14 @@ public class StringUtil {
public static boolean isEmpty(String str) {
return str == null || "".equals(str.trim()) || str.trim().length() == 0;
}
public static boolean isEmpty(String... str) {
for (String s : str) {
if (isEmpty(s)) {
return true;
}
}
return false;
}
}