判断字符串是否为空
if(url!=null && !"".equals(url)){ //不为空 }else{ //为空 }
Powered by: 博客园 Copyright © 2025 testgogogo Powered by .NET 9.0 on Kubernetes