package com.storlead.message.service;

import com.storlead.framework.common.result.Result;
import com.storlead.message.pojo.entity.MessageTemplateEventDetailEntity;

import java.util.Collection;
import java.util.Map;

public interface WechatMessageService {

    /**
     * @param eventDetail  短信模板
     * @param map 参数
     * @param receiverUserIds 接收人
     * @param callbackParam 回调参数
     * @return
     */
    Result sendWechatMessage(MessageTemplateEventDetailEntity eventDetail, Map map, Collection<Long> receiverUserIds, String callbackParam);

    Result sendWechatMessage(MessageTemplateEventDetailEntity eventDetail, Map map, Collection<Long> receiverUserIds, String callbackParam,String appCode);
}
