From f79a327bd4e5d1511ac3b738530b0f5c63772aec Mon Sep 17 00:00:00 2001 From: jiangqs <jiangqs> Date: 星期一, 04 九月 2023 19:34:35 +0800 Subject: [PATCH] seata 同步 支付调整 --- ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/fliter/ParamsAuthFilter.java | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/fliter/ParamsAuthFilter.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/fliter/ParamsAuthFilter.java index d88dcd8..1848813 100644 --- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/fliter/ParamsAuthFilter.java +++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/fliter/ParamsAuthFilter.java @@ -81,7 +81,11 @@ } String requestBodyStr = stringBuilder.toString(); if(StringUtils.isNotBlank(requestBodyStr)){ - return JSONObject.parseObject(stringBuilder.toString(), Map.class); + try { + return JSONObject.parseObject(stringBuilder.toString(), Map.class); + }catch (Exception e){ + e.printStackTrace(); + } } return new HashMap<>(); } -- Gitblit v1.7.1