From 30cc6ecb30b9ec4208feff6a87a7ad2c8b700737 Mon Sep 17 00:00:00 2001 From: "tanfengling@x-ri.com" <123456> Date: Fri, 31 Oct 2025 13:27:27 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=B3=9B=E5=BE=AE=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E3=80=91=E5=B7=A5=E5=85=B7=E7=B1=BB=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lc123/cloud/app/plugin/utils/FWRestfulUtils.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lc123/cloud/app/plugin/utils/FWRestfulUtils.java b/lc123/cloud/app/plugin/utils/FWRestfulUtils.java index a5722cd..a8f552c 100644 --- a/lc123/cloud/app/plugin/utils/FWRestfulUtils.java +++ b/lc123/cloud/app/plugin/utils/FWRestfulUtils.java @@ -194,7 +194,9 @@ public class FWRestfulUtils { //装填参数 List list = new ArrayList<>(); list.add(new BasicNameValuePair("mainData", JSON.toJSONString(mainData))); - list.add(new BasicNameValuePair("detailData", JSON.toJSONString(detailData))); + if (detailData != null && detailData.size() > 0) { + list.add(new BasicNameValuePair("detailData", JSON.toJSONString(detailData))); + } //restful接口url String url = null;