package me.zhengjie.modules.temp.service; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public interface WechatRobotService { /** * 企业微信智能机器人验证回调URL * @param msgSignature 企业微信加密签名 * @param timestamp 时间戳 * @param nonce 随机数 * @param echostr 加密的字符串 * @param response 响应 * @return String */ void robotBack(String msgSignature, String timestamp, String nonce, String echostr, HttpServletResponse response); /** * 处理企业微信智能机器人回调事件 * @param msgSignature 企业微信加密签名 * @param timestamp 时间戳 * @param nonce 随机数 * @param request 请求 * @param response 响应 * @return String */ Object handleRobotCallback(String msgSignature, String timestamp, String nonce, HttpServletRequest request, HttpServletResponse response); }