【泛微接口】工具类修改

This commit is contained in:
tanfengling@x-ri.com 2025-10-31 13:27:27 +08:00
parent 6371693c46
commit 30cc6ecb30
1 changed files with 3 additions and 1 deletions

View File

@ -194,7 +194,9 @@ public class FWRestfulUtils {
//装填参数
List<BasicNameValuePair> list = new ArrayList<>();
list.add(new BasicNameValuePair("mainData", JSON.toJSONString(mainData)));
if (detailData != null && detailData.size() > 0) {
list.add(new BasicNameValuePair("detailData", JSON.toJSONString(detailData)));
}
//restful接口url
String url = null;