Package com.foxinmy.weixin4j.mp.model
Class WeixinMpAccount
- java.lang.Object
-
- com.foxinmy.weixin4j.model.WeixinAccount
-
- com.foxinmy.weixin4j.mp.model.WeixinMpAccount
-
- All Implemented Interfaces:
Serializable
public class WeixinMpAccount extends WeixinAccount
微信公众号信息- Since:
- JDK 1.6
- Author:
- jinyu
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WeixinMpAccount(String appId, String appSecret, List<WeixinAccount> components)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<WeixinAccount>
getComponents()
String
toString()
-
Methods inherited from class com.foxinmy.weixin4j.model.WeixinAccount
getId, getSecret
-
-
-
-
Constructor Detail
-
WeixinMpAccount
public WeixinMpAccount(String appId, String appSecret, List<WeixinAccount> components)
- Parameters:
appId
- 应用ID 使用普通接口(WeixinProxy对象)必须填写appSecret
- 应用密钥 使用普通接口(WeixinProxy对象)必须填写components
- 应用组件集合 使用套件接口(WeixinComponentProxy#ComponentApi)必须填写
-
-
Method Detail
-
getComponents
public List<WeixinAccount> getComponents()
-
toString
public String toString()
- Overrides:
toString
in classWeixinAccount
-
-