From 38fc97caaa5097b5a260a57d4d1156df260cb04c Mon Sep 17 00:00:00 2001
From: ChenJiaHe <763432473@qq.com>
Date: 星期二, 20 四月 2021 22:18:53 +0800
Subject: [PATCH] 永久小程序码

---
 src/main/java/com/hx/corp/util/WxCorpPayUtil.java  |    1 -
 src/main/java/com/hx/mp/util/MPWeixinBaseUtil.java |    5 ++---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/hx/corp/util/WxCorpPayUtil.java b/src/main/java/com/hx/corp/util/WxCorpPayUtil.java
index 89cfb1f..a4aa6fc 100644
--- a/src/main/java/com/hx/corp/util/WxCorpPayUtil.java
+++ b/src/main/java/com/hx/corp/util/WxCorpPayUtil.java
@@ -81,7 +81,6 @@
         try {
             CloseableHttpResponse response = HttpUtil.Post(CORP_PAY_URL, xmlInfo, true, certPath, corpPayRequest.getMchid());
             String transfersXml = EntityUtils.toString(response.getEntity(), "utf-8");
-            System.out.println("娓犻亾绔紒涓氫粯娆撅細" + transfersXml);
 
            //Map<String, String> transferMap = HttpXmlUtils.parseRefundXml(transfersXml);
 
diff --git a/src/main/java/com/hx/mp/util/MPWeixinBaseUtil.java b/src/main/java/com/hx/mp/util/MPWeixinBaseUtil.java
index 38b0380..260fc88 100644
--- a/src/main/java/com/hx/mp/util/MPWeixinBaseUtil.java
+++ b/src/main/java/com/hx/mp/util/MPWeixinBaseUtil.java
@@ -37,7 +37,7 @@
 	//鐢熸垚灏忕▼搴忎簩缁寸爜鍦板潃锛堟柟褰級
 	public static final String MAKE_TWOCODE_SQUARE_URL = "https://api.weixin.qq.com/cgi-bin/wxaapp/createwxaqrcode?access_token=";
 	//鐢熸垚灏忕▼搴忎簩缁寸爜鍦板潃锛堝渾褰級
-	public static final String MAKE_TWOCODE_ROUND_URL = "https://api.weixin.qq.com/wxa/getwxacode?access_token=";
+	public static final String MAKE_TWOCODE_ROUND_URL = "https://api.weixin.qq.com/wxa/getwxacode?access_token={0}";
 	//鐢熸垚鏃犻檺浜岀淮鐮�
 	public static final String URL_UNLIMIT_SQUARE = "https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token={0}";
 	//////////////////////////////////////////////////
@@ -169,12 +169,11 @@
 
 		//鍒涘缓涓存椂鏂囦欢
 		File file = File.createTempFile("temp", ".jpg");
-
 		try {
 			//鐢熸垚鍙戦�佹暟鎹�
 			JSONObject obj = new JSONObject();
 			obj.put("width", width);
-			obj.put("page", page);
+			obj.put("path", page);
 			obj.put("auto_color", autoColor);
 			obj.put("line_color", lineColor);
 			obj.put("is_hyaline", isHyaline);

--
Gitblit v1.8.0