View Javadoc
1   package com.foxinmy.weixin4j.mp.event;
2   
3   import com.foxinmy.weixin4j.type.EventType;
4   
5   /**
6    * 关注/取消关注事件</br> <font color="red">包括直接关注与扫描关注</font>
7    * 
8    * @className ScribeEventMessage
9    * @author jinyu(foxinmy@gmail.com)
10   * @date 2014年4月6日
11   * @since JDK 1.6
12   * @see <a
13   *      href="https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421140454&token=&lang=zh_CN">订阅号、服务号的关注/取消关注事件</a>
14   */
15  public class ScribeEventMessage extends ScanEventMessage {
16  
17  	private static final long serialVersionUID = -6846321620262204915L;
18  
19  	public ScribeEventMessage() {
20  		super(EventType.subscribe.name());
21  	}
22  
23  	@Override
24  	public String toString() {
25  		return "ScribeEventMessage [" + super.toString() + "]";
26  	}
27  }