区块链调试
This commit is contained in:
@ -72,10 +72,17 @@ public class CrypConfigureServiceImpl extends BaseServiceImpl<CrypConfigureMappe
|
|||||||
log.setInterfaceUrl(bean.getUrl());
|
log.setInterfaceUrl(bean.getUrl());
|
||||||
|
|
||||||
try {
|
try {
|
||||||
//传入数据解密
|
|
||||||
String sign = getSignValue(bean.getObject());
|
|
||||||
|
|
||||||
LinkedHashMap<String, Object> map = JSONArray.parseObject(JSONArray.toJSONString(bean.getObject()), LinkedHashMap.class);
|
LinkedHashMap<String, Object> map = JSONArray.parseObject(JSONArray.toJSONString(bean.getObject()), LinkedHashMap.class);
|
||||||
|
Object signObject = new Object();
|
||||||
|
|
||||||
|
if(map.get("BODY_LIST")!=null){
|
||||||
|
signObject = map.get("BODY_LIST");
|
||||||
|
}else{
|
||||||
|
signObject =map;
|
||||||
|
}
|
||||||
|
//传入数据解密
|
||||||
|
String sign = getSignValue(signObject);
|
||||||
|
|
||||||
map.put("SIGN", sign);
|
map.put("SIGN", sign);
|
||||||
|
|
||||||
String json = getUniBss(bean.getReqName(),map);
|
String json = getUniBss(bean.getReqName(),map);
|
||||||
|
Reference in New Issue
Block a user