|
|
|
@ -87,8 +87,30 @@ public class SzwhApiUtils { |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
public static JSONObject revocationGoods(){ |
|
|
|
JSONObject json = new JSONObject(); |
|
|
|
String surl="/consign/exchange/v1/selectRevokeEntrust/exchange"; |
|
|
|
String entHost= ProperUtils.getSzwhProp("ENTRUST_URL");//委托系统主机
|
|
|
|
String surl=entHost+"/consign/exchange/v1/selectRevokeEntrust/exchange"; |
|
|
|
// 使用的token
|
|
|
|
String sign=SignUtils.createSign("entrust"); |
|
|
|
Map hmap = new HashMap(); |
|
|
|
hmap.put("entrust_token",sign); |
|
|
|
//执行get请求
|
|
|
|
JSONObject json=RequestUtils.GetData(surl,hmap,true); |
|
|
|
return json; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 查询撤销审核数据(交易所/委托) |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
public static JSONObject queryGoodsStatus(){ |
|
|
|
String entHost= ProperUtils.getSzwhProp("ENTRUST_URL");//委托系统主机
|
|
|
|
String surl=entHost+"/consign/exchange/v1/selectVerifyStatus"; |
|
|
|
// 使用的token
|
|
|
|
String sign=SignUtils.createSign("entrust"); |
|
|
|
Map hmap = new HashMap(); |
|
|
|
hmap.put("entrust_token",sign); |
|
|
|
//执行get请求
|
|
|
|
JSONObject json=RequestUtils.GetData(surl,hmap,true); |
|
|
|
return json; |
|
|
|
} |
|
|
|
|
|
|
|
|