From d57fc1094625792b20d5ec713bcf9dfb1901ed68 Mon Sep 17 00:00:00 2001
From: fwq <582742538@qq.com>
Date: 星期五, 01 九月 2023 10:17:15 +0800
Subject: [PATCH] 增加Excel解析不为空的校验

---
 src/main/java/com/hx/mp/util/MPWeixinBaseUtil.java |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/hx/mp/util/MPWeixinBaseUtil.java b/src/main/java/com/hx/mp/util/MPWeixinBaseUtil.java
index bdc522e..69e0c4a 100644
--- a/src/main/java/com/hx/mp/util/MPWeixinBaseUtil.java
+++ b/src/main/java/com/hx/mp/util/MPWeixinBaseUtil.java
@@ -3,6 +3,8 @@
 import com.hx.util.OSSUtil;
 import com.hx.util.SimpleTool;
 import com.hx.util.StringUtils;
+import com.hz.util.http.HttpHzUtil;
+import com.hz.util.http.dto.HttpHzResponse;
 import net.sf.json.JSONException;
 import net.sf.json.JSONObject;
 import org.apache.commons.codec.binary.Base64;
@@ -821,16 +823,16 @@
 	 * 鑾峰彇灏忕▼搴忚闃呮ā鏉�
 	 * @param accessToken token
 	 * **/
-	public static JSONObject appTemplateList(String accessToken) {
-		return HttpURLUtil(GET_APP_TEMPLATE+accessToken,"");
+	public static HttpHzResponse appTemplateList(String accessToken) {
+		return HttpHzUtil.HttpURLUtilJson(GET_APP_TEMPLATE + accessToken, null,null,null,"GET",null);
 	}
 
 	/**
 	 * 鍏紬鍙疯闃呮ā鏉�
 	 * @param accessToken token
 	 * **/
-	public static JSONObject gzhTemplateList(String accessToken) {
-		return HttpURLUtil(GET_GZH_TEMPLATE+accessToken,"");
+	public static HttpHzResponse gzhTemplateList(String accessToken) {
+		return HttpHzUtil.HttpURLUtilJson(GET_GZH_TEMPLATE+accessToken, null,null,null,"GET",null);
 	}
 
 }

--
Gitblit v1.8.0