Java Code Examples for me.chanjar.weixin.mp.bean.message.WxMpXmlMessage#getFromUser()

The following examples show how to use me.chanjar.weixin.mp.bean.message.WxMpXmlMessage#getFromUser() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: UnsubscribeHandler.java    From yshopmall with Apache License 2.0 5 votes vote down vote up
@Override
public WxMpXmlOutMessage handle(WxMpXmlMessage wxMessage,
                                Map<String, Object> context, WxMpService wxMpService,
                                WxSessionManager sessionManager) {
    String openId = wxMessage.getFromUser();
    this.logger.info("取消关注用户 OPENID: " + openId);
    // TODO 可以更新本地数据库为取消关注状态
    return null;
}
 
Example 2
Source File: UnsubscribeHandler.java    From black-shop with Apache License 2.0 5 votes vote down vote up
@Override
public WxMpXmlOutMessage handle(WxMpXmlMessage wxMessage,
                                Map<String, Object> context, WxMpService wxMpService,
                                WxSessionManager sessionManager) {
    String openId = wxMessage.getFromUser();
    this.logger.info("取消关注用户 OPENID: " + openId);
    // TODO 可以更新本地数据库为取消关注状态
    return null;
}
 
Example 3
Source File: UnsubscribeHandler.java    From fw-cloud-framework with MIT License 5 votes vote down vote up
@Override
public WxMpXmlOutMessage handle(WxMpXmlMessage wxMessage, Map<String, Object> context,
		WxMpService wxMpService, WxSessionManager sessionManager) {
	String openId = wxMessage.getFromUser();
	this.logger.info("取消关注用户 OPENID: " + openId);
	// TODO 可以更新本地数据库为取消关注状态
	return null;
}
 
Example 4
Source File: UnsubscribeHandler.java    From sdb-mall with Apache License 2.0 5 votes vote down vote up
@Override
public WxMpXmlOutMessage handle(WxMpXmlMessage wxMessage,
                                Map<String, Object> context, WxMpService wxMpService,
                                WxSessionManager sessionManager) {
    String openId = wxMessage.getFromUser();
    this.logger.info("取消关注用户 OPENID: " + openId);
    // TODO 可以更新本地数据库为取消关注状态
    return null;
}