stringutils.hasText("字符串") 如果字符串里面的值为null, "", " ",那么返回值为false;否则为true 转载于:https://www.cnblogs.com/qingmuchuanqi48/p/11253543.html