Package com.foxinmy.weixin4j.qy.model
Class WeixinQyAccount
- java.lang.Object
-
- com.foxinmy.weixin4j.model.WeixinAccount
-
- com.foxinmy.weixin4j.qy.model.WeixinQyAccount
-
- All Implemented Interfaces:
Serializable
public class WeixinQyAccount extends WeixinAccount
微信企业号信息- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WeixinQyAccount(String corpid, String corpsecret, List<WeixinAccount> suites, String providerSecret, String chatSecret)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getChatSecret()
String
getProviderSecret()
List<WeixinAccount>
getSuites()
String
toString()
-
Methods inherited from class com.foxinmy.weixin4j.model.WeixinAccount
getId, getSecret
-
-
-
-
Constructor Detail
-
WeixinQyAccount
public WeixinQyAccount(String corpid, String corpsecret, List<WeixinAccount> suites, String providerSecret, String chatSecret)
- Parameters:
corpid
- 企业ID 使用普通接口(WeixinProxy对象)必须填写corpsecret
- 管理组的凭证密钥 使用普通接口(WeixinProxy对象)必须填写suites
- 应用套件集合 使用套件接口(WeixinSuiteProxy#SuiteApi)必须填写providerSecret
- 第三方提供商secret(企业号登陆) 使用服务商接口(WeixinSuiteProxy#ProviderApi)必填项chatSecret
- 消息服务secret(企业号聊天) 暂无用途
-
-
Method Detail
-
getSuites
public List<WeixinAccount> getSuites()
-
getProviderSecret
public String getProviderSecret()
-
getChatSecret
public String getChatSecret()
-
toString
public String toString()
- Overrides:
toString
in classWeixinAccount
-
-