mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-05-04 20:57:47 +08:00
🐛 修复GsonHelper工具类
This commit is contained in:
parent
3d6185914f
commit
d29d18028a
@ -198,7 +198,7 @@ public class GsonHelper {
|
||||
((List<?>) value).forEach(a -> array.add(a.toString()));
|
||||
jsonObject.add(key.toString(), array);
|
||||
} else {
|
||||
jsonObject.addProperty(key.toString(), value.toString());
|
||||
jsonObject.add(key.toString(), WxGsonBuilder.create().toJsonTree(value));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user