package com.ruoyi.api.service;

import com.ruoyi.api.domain.WeChatMessage;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 微信消息自动回复Service
 *
 * @author vinjor-m
 * @date 2025-03-17
 */
public interface IWeChatMessageService {
    /**
     * 校验签名
     *
     * @param message {@link WeChatMessage}
     * @return java.lang.String
     * @author PQZ
     * @date 12:08 2025/4/25
     **/
    String checkSignature(WeChatMessage message);

    /**
     * 发送消息返回
     *
     * @param request  {@link HttpServletRequest}
     * @param response {@link HttpServletResponse}
     * @return java.lang.String
     * @author PQZ
     * @date 12:52 2025/4/25
     **/
    String acceptMessage(HttpServletRequest request, HttpServletResponse response);


}
