From 7974eacf793c1a5bcb2ec4c38622932d56a1f797 Mon Sep 17 00:00:00 2001 From: bin Date: Wed, 7 Apr 2021 17:14:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/ssjl/zhaobiao/guizhou/utils/GZHttpUtil.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/ssjl/zhaobiao/guizhou/utils/GZHttpUtil.java b/src/main/java/com/ssjl/zhaobiao/guizhou/utils/GZHttpUtil.java index 33d9081..1862035 100644 --- a/src/main/java/com/ssjl/zhaobiao/guizhou/utils/GZHttpUtil.java +++ b/src/main/java/com/ssjl/zhaobiao/guizhou/utils/GZHttpUtil.java @@ -24,8 +24,10 @@ public class GZHttpUtil { Headers headers = new Headers.Builder().add("meid-id", imei).add("imsi-id", phone).build(); byte[] b = req.toByte(); b = GZUtil.encode(b); + log.info("发给电信:" + ByteUtil.bytesToHexString(b)); try { byte[] res = httpUtil.postBytes(url, b, headers); + log.info("电信返回:" + ByteUtil.bytesToHexString(res)); return res; } catch (IOException e) { log.info("timeout目标地址:" + url);