BAOLH
2026-11-10 c5dfc09145e4e10f99dbf388a4a1433b5c2973e5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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);
}