自动化立体仓库 - WMS系统
1
ZY
2024-09-26 4df80cad47f22a930435835e7f7135bd60672cd8
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());
            }