//package com.wechat.callback.processors;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
//
//import com.wechat.callback.passiveresponses.TextResponse;
//import com.wechat.callback.tencentrequests.events.TBaseEventRequest;
//import com.wechat.common.Constants;
//import com.wechat.model.dto.BaseUserInfoDto;
//
//@Component
//public class UnSubscribeProcessor {
//
//    public TextResponse getResponse(TBaseEventRequest req) {
//        //openId取得
//        String openId = req.getFromUserName();
//        BaseUserInfoDto baseUserInfoDto = baseInfoRedis.selectBaseUserInfo(openId);
//        String resContent = Constants.EMPTY;
//        if (baseUserInfoDto != null) {
//            //取消成功
//            //1.删除用户信息 及相关资讯设定
//            accountInfoService.deleteAccountInfo(openId);
//
//        }
//        return new TextResponse(resContent);
//    }
//}
