Skip to content

Commit

Permalink
版本发布
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangdaiscott committed Sep 2, 2022
1 parent 015cac3 commit 5e1ac7e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/jeecg/alipay/api/core/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class Config {
public static final String URL = "https://openapi.alipay.com/gateway.do";
// 商户应用APPID,只要您的应用中包含当面付接口且是开通状态,就可以用此应用对应的appid。
/* 开发者可登录开放平台-管理中心-对应应用中查看 */
public static final String APPID = " 2015112500868971";
public static final String APPID = " ??";
// 编码字符集。默认 utf-8
public static final String CHARSET = "utf-8";
// 返回格式。默认json
Expand Down
7 changes: 3 additions & 4 deletions src/test/java/org/jeewx/api/mp/aes/WXBizMsgCryptTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
import org.xml.sax.SAXException;

public class WXBizMsgCryptTest {
String encodingAesKey = "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFG";
String appId = "??";
String encodingAesKey = "??";
String token = "pamtest";
String timestamp = "1409304348";
String nonce = "xxxxxx";
String appId = "wxb11529c136998cb6";
String replyMsg = "我是中文abcd123";
String xmlFormat = "<xml><ToUserName><![CDATA[toUser]]></ToUserName><Encrypt><![CDATA[%1$s]]></Encrypt></xml>";
String afterAesEncrypt = "jn1L23DB+6ELqJ+6bruv21Y6MD7KeIfP82D6gU39rmkgczbWwt5+3bnyg5K55bgVtVzd832WzZGMhkP72vVOfg==";
Expand Down Expand Up @@ -140,8 +140,7 @@ public void testValidateSignatureError() throws ParserConfigurationException, SA

@Test
public void testVerifyUrl() throws AesException {
WXBizMsgCrypt wxcpt = new WXBizMsgCrypt("QDG6eK",
"jWmYm7qr5nMoAUwZRjGtBxmz3KA1tkAj3ykkR6q2B2C", "wx5823bf96d3bd56c7");
WXBizMsgCrypt wxcpt = new WXBizMsgCrypt("QDG6eK", "??", "??");
String verifyMsgSig = "5c45ff5e21c57e6ad56bac8758b79b1d9ac89fd3";
String timeStamp = "1409659589";
String nonce = "263014780";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public void getToken() throws WexinReqException {
service = new JwSendMessageAPI();
touser = "oA1Vct-_r1rAd5mcL3lEZKgcvGZY";

String appid = "wxb512901288a94943";
String appscret = "6f94b81b49cf9f89fafe305dcaf2c632";
String appid = "??";
String appscret = "??";

AccessToken token = new AccessToken(appid, appscret);

Expand Down
4 changes: 2 additions & 2 deletions src/test/java/org/jeewx/api/wxsendmsg/test/MessageTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public class MessageTest {
@Before
public void getToken() throws WexinReqException {
touser = "oA1Vct-_r1rAd5mcL3lEZKgcvGZY";
String appId = "wx6fdc3953994264a6";
String appSecret = "b874abf79931998b57ecc3a6f6d9665e";
String appId = "??";
String appSecret = "??";
AccessToken token = new AccessToken(appId, appSecret);

String strtoken = token.getNewAccessToken();
Expand Down

0 comments on commit 5e1ac7e

Please sign in to comment.