|
@@ -71,7 +71,7 @@ public class HttpUtils { |
|
@@ -71,7 +71,7 @@ public class HttpUtils { |
71
|
for (Entry<String, Object> entry : param.entrySet()) {
|
71
|
for (Entry<String, Object> entry : param.entrySet()) {
|
72
|
log.debug("请求参数 --> " + entry.getKey() + "=" + entry.getValue());
|
72
|
log.debug("请求参数 --> " + entry.getKey() + "=" + entry.getValue());
|
73
|
if (entry.getKey() == null || entry.getValue() == null) {
|
73
|
if (entry.getKey() == null || entry.getValue() == null) {
|
74
|
- throw new Exception("键值不能为null" + entry.getKey() + "=" + entry.getValue());
|
74
|
+ continue;
|
75
|
}
|
75
|
}
|
76
|
list.add(new BasicNameValuePair(entry.getKey(), String.valueOf(entry.getValue())));
|
76
|
list.add(new BasicNameValuePair(entry.getKey(), String.valueOf(entry.getValue())));
|
77
|
}
|
77
|
}
|