新增企业付款查询接口 & 对多个公众号的接入支持
This commit is contained in:
@@ -48,7 +48,7 @@ public class SuiteTicketHolder {
|
||||
* @param suiteTicket
|
||||
* @throws WeixinException
|
||||
*/
|
||||
public void cachingTicket(SuiteTicketMessage suiteTicket)
|
||||
public void cachingTicket(WeixinSuiteMessage suiteTicket)
|
||||
throws WeixinException {
|
||||
Token token = new Token(suiteTicket.getSuiteTicket());
|
||||
token.setExpiresIn(-1);
|
||||
|
||||
+11
-2
@@ -7,9 +7,18 @@ import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
/**
|
||||
* 套件消息
|
||||
*
|
||||
* @className WeixinSuiteMessage
|
||||
* @author jy
|
||||
* @date 2015年6月23日
|
||||
* @since JDK 1.7
|
||||
* @see
|
||||
*/
|
||||
@XmlRootElement(name = "xml")
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
public class SuiteTicketMessage implements Serializable {
|
||||
public class WeixinSuiteMessage implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 6457919241019021514L;
|
||||
/**
|
||||
@@ -60,7 +69,7 @@ public class SuiteTicketMessage implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "SuiteTicketMessage [suiteId=" + suiteId + ", eventType="
|
||||
return "WeixinSuiteMessage [suiteId=" + suiteId + ", eventType="
|
||||
+ eventType + ", timeStamp=" + timeStamp + ", SuiteTicket="
|
||||
+ SuiteTicket + ", authCorpId=" + authCorpId + "]";
|
||||
}
|
||||
Reference in New Issue
Block a user