修改公众号文字变成企业号

This commit is contained in:
Daniel Qian
2014-10-21 18:59:09 +08:00
parent 93f8726029
commit 7becf8e4f2
4 changed files with 6 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ import java.util.List;
import me.chanjar.weixin.enterprise.util.json.WxCpGsonBuilder;
/**
* 公众号菜单
* 企业号菜单
* @author Daniel Qian
*
*/

View File

@@ -51,7 +51,7 @@ public class WxCryptUtilTest {
String messageText = String.format(xmlFormat, cipherText);
// 第三方收到公众号平台发送的消息
// 第三方收到企业号平台发送的消息
String plainMessage = pc.decrypt(cipherText);
System.out.println(plainMessage);

View File

@@ -3,7 +3,7 @@
<corpSecret>企业号corpsecret</corpSecret>
<agentId>企业号应用id</agentId>
<token>企业号应用Token</token>
<aesKey>公众号应用EncodingAESKey</aesKey>
<aesKey>企业号应用EncodingAESKey</aesKey>
<accessToken>可以不填写</accessToken>
<expiresIn>可以不填写</expiresIn>
<userId>企业号通讯录里的某个userid</userId>