package com.kym.service.wechat;

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import me.chanjar.weixin.common.error.WxErrorException;

import java.util.List;

/**
 * 微信公众号服务
 *
 * @author skyline
 */
public interface WeixinMPService {
    void handleWxMPNotify(HttpServletRequest request, HttpServletResponse response);

    void sendMPTemplateMessage(String mpOpenid, String templateTitle, List<String> dataList) throws WxErrorException;
}
