From 319e3a08d77530ac40dcbdd2c3191490df630348 Mon Sep 17 00:00:00 2001 From: zhangchao <zc857179121@qq.com> Date: 星期二, 12 十一月 2024 11:04:29 +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