mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-02 20:02:49 +08:00
fix form method
This commit is contained in:
parent
32797d2d14
commit
3ae1d39b0e
@ -12,6 +12,7 @@
|
||||
* 【core 】 Sftp增加syncUpload方法(pr#375@Gitee)
|
||||
* 【core 】 改进NetUtil.getLocalHost逻辑(issue#1717@Github)
|
||||
* 【core 】 UseragentUtil增加QQ、alipay、taobao、uc等浏览器识别支持(issue#1719@Github)
|
||||
* 【http 】 HttpRequest.form方法判断集合增强(pr#381@Gitee)
|
||||
|
||||
### 🐞Bug修复
|
||||
* 【core 】 修复RobotUtil双击右键问题(pr#1721@Github)
|
||||
|
@ -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)) {
|
||||
// 多文件
|
||||
|
Loading…
Reference in New Issue
Block a user