From 64da8d11cf58b4e810acf640bb51115d78b9e161 Mon Sep 17 00:00:00 2001 From: LSH Date: 星期三, 09 八月 2023 09:39:30 +0800 Subject: [PATCH] #小数继续优化 --- src/main/java/com/zy/asrs/task/handler/ErpAccessTokenHandler.java | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/handler/ErpAccessTokenHandler.java b/src/main/java/com/zy/asrs/task/handler/ErpAccessTokenHandler.java index 185e247..d02dcc2 100644 --- a/src/main/java/com/zy/asrs/task/handler/ErpAccessTokenHandler.java +++ b/src/main/java/com/zy/asrs/task/handler/ErpAccessTokenHandler.java @@ -47,7 +47,12 @@ System.out.println("鑾峰彇appToken涓虹┖"); throw new CoolException(e); } - + if(data == null){ + return; + } + if (data == null) { + return; + } //鑾峰彇access_token if ((boolean) data.get("success")) { JSONObject accessTokenJson = new JSONObject(); -- Gitblit v1.9.1