From 246de69195f6769b213550bc9ff24fbef01a3f85 Mon Sep 17 00:00:00 2001 From: liujun Date: Wed, 12 Jun 2024 08:51:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B8=E5=85=B3=E6=96=B9=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E6=89=93=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/zcloud/flow/xgf/util/XgfFlowDto.java | 1 - .../java/com/zcloud/service/xgf/impl/XgfUserServiceImpl.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/zcloud/flow/xgf/util/XgfFlowDto.java b/src/main/java/com/zcloud/flow/xgf/util/XgfFlowDto.java index f72c6637..03585717 100644 --- a/src/main/java/com/zcloud/flow/xgf/util/XgfFlowDto.java +++ b/src/main/java/com/zcloud/flow/xgf/util/XgfFlowDto.java @@ -50,5 +50,4 @@ public class XgfFlowDto { // 打回节点游标 private String BACK_STEP; private String errorMsg; - private String code; } diff --git a/src/main/java/com/zcloud/service/xgf/impl/XgfUserServiceImpl.java b/src/main/java/com/zcloud/service/xgf/impl/XgfUserServiceImpl.java index d3428b1c..6cbb7a6a 100644 --- a/src/main/java/com/zcloud/service/xgf/impl/XgfUserServiceImpl.java +++ b/src/main/java/com/zcloud/service/xgf/impl/XgfUserServiceImpl.java @@ -1007,7 +1007,7 @@ public class XgfUserServiceImpl implements XgfUserService { key.put("OPINION", flows.get("OPINION")); Map result = HttpClientService.doPost(prevention_xgf_url + "openApi/user/approve", key); if (result == null || !"succeed".equals(result.get("result"))) { - info.setErrorMsg("请求失败"); + throw new RuntimeException("请求失败"); } xgfUserMapper.edit(entity); this.clearInfo(flows);