【泛微接口】工具类修改
This commit is contained in:
parent
6371693c46
commit
30cc6ecb30
|
|
@ -194,7 +194,9 @@ public class FWRestfulUtils {
|
||||||
//装填参数
|
//装填参数
|
||||||
List<BasicNameValuePair> list = new ArrayList<>();
|
List<BasicNameValuePair> list = new ArrayList<>();
|
||||||
list.add(new BasicNameValuePair("mainData", JSON.toJSONString(mainData)));
|
list.add(new BasicNameValuePair("mainData", JSON.toJSONString(mainData)));
|
||||||
|
if (detailData != null && detailData.size() > 0) {
|
||||||
list.add(new BasicNameValuePair("detailData", JSON.toJSONString(detailData)));
|
list.add(new BasicNameValuePair("detailData", JSON.toJSONString(detailData)));
|
||||||
|
}
|
||||||
|
|
||||||
//restful接口url
|
//restful接口url
|
||||||
String url = null;
|
String url = null;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue