|
|
|
@ -82,6 +82,21 @@ public class SzwhApiUtils { |
|
|
|
return json; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 获取具体详情 |
|
|
|
* @param identifiers |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
public static JSONObject apiGoodsDetail(String identifiers){ |
|
|
|
String entHost= ProperUtils.getSzwhProp("ENTRUST_URL");//委托系统主机
|
|
|
|
String url="/consign/exchange/v1/selectEntrustDetails"+identifiers; |
|
|
|
// 使用的token
|
|
|
|
String sign=SignUtils.createSign("entrust"); |
|
|
|
Map hmap = new HashMap(); |
|
|
|
hmap.put("entrust_token",sign); |
|
|
|
JSONObject json = RequestUtils.GetData(url,hmap); |
|
|
|
return json; |
|
|
|
} |
|
|
|
/** |
|
|
|
* distribute 同步订单数据 |
|
|
|
* @return |
|
|
|
|