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/OrderSendHandler.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/handler/OrderSendHandler.java b/src/main/java/com/zy/asrs/task/handler/OrderSendHandler.java index 82ceb2e..5fcea45 100644 --- a/src/main/java/com/zy/asrs/task/handler/OrderSendHandler.java +++ b/src/main/java/com/zy/asrs/task/handler/OrderSendHandler.java @@ -82,7 +82,7 @@ private int doHttpRequest(Object requestParam, String namespace, String url, String path, String appkey, String ip) { String response = ""; boolean success = false; - log.error(JSONObject.toJSONString(requestParam)); + log.info(JSONObject.toJSONString(requestParam)); try { response = new HttpHandler.Builder() .setUri(url) @@ -90,8 +90,8 @@ .setJson(JSONObject.toJSONString(requestParam)) .build() .doPost(); - JSONObject jsonObject = JSON.parseObject(response); log.info("涓婃姤ERP鍑哄簱鍗曟嵁璇锋眰杩斿洖鎶ユ枃锛歿}", response); + JSONObject jsonObject = JSON.parseObject(response); if (Cools.isEmpty(jsonObject.get("ErrorCode"))) { throw new CoolException(jsonObject.get("ErrorMsg").toString()); } -- Gitblit v1.9.1