密文模式下调整appid与token参数的位置
This commit is contained in:
parent
48086312b6
commit
1d56f2e553
@ -92,14 +92,14 @@ public final class WeixinServerBootstrap {
|
|||||||
/**
|
/**
|
||||||
* 明文模式 & 兼容模式 & 密文模式
|
* 明文模式 & 兼容模式 & 密文模式
|
||||||
*
|
*
|
||||||
* @param appid
|
|
||||||
* 公众号的应用ID(appid/corpid) 密文&兼容模式下需要填写
|
|
||||||
* @param token
|
* @param token
|
||||||
* 开发者填写的token 无论哪种模式都需要填写
|
* 开发者填写的token 无论哪种模式都需要填写
|
||||||
|
* @param appid
|
||||||
|
* 公众号的应用ID(appid/corpid) 密文&兼容模式下需要填写
|
||||||
* @param aesKey
|
* @param aesKey
|
||||||
* 消息加密的密钥 密文&兼容模式下需要填写
|
* 消息加密的密钥 密文&兼容模式下需要填写
|
||||||
*/
|
*/
|
||||||
public WeixinServerBootstrap(String appid, String token, String aesKey) {
|
public WeixinServerBootstrap(String token, String appid, String aesKey) {
|
||||||
this(new AesToken(appid, token, aesKey));
|
this(new AesToken(appid, token, aesKey));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user