md
This commit is contained in:
parent
75d3f66dc5
commit
a90ee8f21a
@ -162,9 +162,10 @@ public class HXSdk {
|
||||
String url = HX_URLPREFIX+"/open/service/orderReceive";
|
||||
JSONObject jObjPost = new JSONObject();
|
||||
jObjPost.put("orders",orderList);
|
||||
log.error("==>jObjPost==>{}",jObjPost.toJSONString());
|
||||
log.error("==>asyncOpenBillReceive POST==>{}",jObjPost.toJSONString());
|
||||
HttpResponse response = HttpUtil.createPost(url).header("Authorization", token).body(jObjPost.toJSONString()).execute();
|
||||
String result = response.body();
|
||||
log.error("==>asyncOpenBillReceive RES==>{}",jObjPost.toJSONString());
|
||||
JSONObject jRstObj = JSONObject.parseObject(result);
|
||||
return jRstObj;
|
||||
|
||||
@ -234,9 +235,10 @@ isOfferInvoiceDetail String N 1 是否需要提供明细 Y-提供,N-不提供
|
||||
String url = HX_URLPREFIX+"/open/service/queryInvoiceResult";
|
||||
JSONObject jObjPost = new JSONObject();
|
||||
jObjPost.put("orderNos",orderNos);
|
||||
log.error("===>queryInvoiceResult==>{}",jObjPost.toJSONString());
|
||||
log.error("===>queryInvoiceResult=POST=>{}",jObjPost.toJSONString());
|
||||
HttpResponse response = HttpUtil.createPost(url).header("Authorization", token).body(jObjPost.toJSONString()).execute();
|
||||
String result = response.body();
|
||||
log.error("===>queryInvoiceResult==RES==>{}",jObjPost.toJSONString());
|
||||
JSONObject jRstObj = JSONObject.parseObject(result);
|
||||
return jRstObj;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user