From 0fca6f592bd62a90df2dad8fa58185abb9e0844c Mon Sep 17 00:00:00 2001 From: zhangqinbin <181961702@qq.com> Date: Thu, 2 Sep 2021 17:38:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=BA=E5=9D=97=E9=93=BE=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/CrypConfigureServiceImpl.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java index e3978bd..a4ba736 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java @@ -97,11 +97,10 @@ public class CrypConfigureServiceImpl extends BaseServiceImpl rspMap = JSONArray.parseObject(JSONArray.toJSONString(rspObject), LinkedHashMap.class); - if(rspMap!=null&&rspMap.get("Code")!=null&&"200".equals(rspMap.get("Code").toString())){ - System.out.println("请求成功:"+rspMap); + String retJson = JSONArray.toJSONString(uniBssRsp.getUniBssBody()); + + if(retJson!=null&&!"".equals(retJson)&&retJson.indexOf("{\"Code\":200,")>=0){ blockChainLog.setStatus(0);//成功 this.iBlockChainLogService.save(blockChainLog); return true;