区块链调用
This commit is contained in:
@ -71,7 +71,6 @@ public class CrypConfigureServiceImpl extends BaseServiceImpl<CrypConfigureMappe
|
|||||||
String json = getUniBss(bean.getReqName(),map);
|
String json = getUniBss(bean.getReqName(),map);
|
||||||
|
|
||||||
log.setParam(json);
|
log.setParam(json);
|
||||||
|
|
||||||
String str = UniBssServiceImpl.uniBssHttpPost(bean.getUrl(), json);
|
String str = UniBssServiceImpl.uniBssHttpPost(bean.getUrl(), json);
|
||||||
log.setResult(str);//返回参数
|
log.setResult(str);//返回参数
|
||||||
UniBss uniBssRsp = JSONArray.parseObject(str, UniBss.class);
|
UniBss uniBssRsp = JSONArray.parseObject(str, UniBss.class);
|
||||||
@ -85,10 +84,7 @@ public class CrypConfigureServiceImpl extends BaseServiceImpl<CrypConfigureMappe
|
|||||||
return true;
|
return true;
|
||||||
}else{
|
}else{
|
||||||
log.setStatus(1);//失败
|
log.setStatus(1);//失败
|
||||||
this.iBlockChainLogService.save(log);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
|
||||||
} else {
|
} else {
|
||||||
log.setStatus(1);//失败
|
log.setStatus(1);//失败
|
||||||
CommonExceptionEnum.FRAME_EXCEPTION_COMMON_DATA_OTHER_ERROR.assertStringNotNullByKey("天擎接口调用错误," +
|
CommonExceptionEnum.FRAME_EXCEPTION_COMMON_DATA_OTHER_ERROR.assertStringNotNullByKey("天擎接口调用错误," +
|
||||||
|
Reference in New Issue
Block a user