From 21d24af0866b3e1981d102fa6b5baeeb04f80bd1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 27 May 2026 12:46:55 +0000 Subject: [PATCH 1/2] Initial plan From 7c3c22ebd0101ece09ae087b75ec70edb8ebf3db Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 27 May 2026 12:56:32 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E6=B5=8B=E8=AF=95=EF=BC=9A=E8=A1=A5?= =?UTF-8?q?=E5=85=85Fund=E9=93=B6=E8=A1=8C=E5=8D=A1=E4=B8=8E=E4=BA=8C?= =?UTF-8?q?=E7=BB=B4=E7=A0=81URL=E5=B8=B8=E9=87=8F=E5=9B=9E=E5=BD=92?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WxChannelApiUrlConstantsTest.java | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 weixin-java-channel/src/test/java/me/chanjar/weixin/channel/constant/WxChannelApiUrlConstantsTest.java diff --git a/weixin-java-channel/src/test/java/me/chanjar/weixin/channel/constant/WxChannelApiUrlConstantsTest.java b/weixin-java-channel/src/test/java/me/chanjar/weixin/channel/constant/WxChannelApiUrlConstantsTest.java new file mode 100644 index 0000000000..69bec9bf38 --- /dev/null +++ b/weixin-java-channel/src/test/java/me/chanjar/weixin/channel/constant/WxChannelApiUrlConstantsTest.java @@ -0,0 +1,26 @@ +package me.chanjar.weixin.channel.constant; + +import static org.testng.Assert.assertEquals; + +import org.testng.annotations.Test; + +public class WxChannelApiUrlConstantsTest { + + @Test + public void testFundBankAndQrCodeUrlPrefix() { + assertEquals(WxChannelApiUrlConstants.Fund.GET_BANK_BY_NUM_URL, + "https://api.weixin.qq.com/shop/funds/getbankbynum"); + assertEquals(WxChannelApiUrlConstants.Fund.GET_BANK_LIST_URL, + "https://api.weixin.qq.com/shop/funds/getbanklist"); + assertEquals(WxChannelApiUrlConstants.Fund.GET_CITY_URL, + "https://api.weixin.qq.com/shop/funds/getcity"); + assertEquals(WxChannelApiUrlConstants.Fund.GET_PROVINCE_URL, + "https://api.weixin.qq.com/shop/funds/getprovince"); + assertEquals(WxChannelApiUrlConstants.Fund.GET_SUB_BANK_URL, + "https://api.weixin.qq.com/shop/funds/getsubbranch"); + assertEquals(WxChannelApiUrlConstants.Fund.GET_QRCODE_URL, + "https://api.weixin.qq.com/shop/funds/qrcode/get"); + assertEquals(WxChannelApiUrlConstants.Fund.CHECK_QRCODE_URL, + "https://api.weixin.qq.com/shop/funds/qrcode/check"); + } +}