mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix form method
This commit is contained in:
@@ -493,9 +493,9 @@ public class HttpRequest extends HttpBase<HttpRequest> {
|
||||
|
||||
// 普通值
|
||||
String strValue;
|
||||
if (value instanceof List) {
|
||||
if (value instanceof Iterable) {
|
||||
// 列表对象
|
||||
strValue = CollUtil.join((List<?>) value, ",");
|
||||
strValue = CollUtil.join((Iterable<?>) value, ",");
|
||||
} else if (ArrayUtil.isArray(value)) {
|
||||
if (File.class == ArrayUtil.getComponentType(value)) {
|
||||
// 多文件
|
||||
|
Reference in New Issue
Block a user