package cn.axzo.msg.center.notices.integration.support;

import cn.axzo.msg.center.notices.common.enums.MessageTemplateTypeEnum;
import cn.axzo.msg.center.notices.integration.dto.request.BaseSmsRequest;
import cn.axzo.msg.center.notices.integration.dto.request.MessageRequest;
import cn.azxo.framework.common.spring.SimpleRegisterableService;

/**
 * 创蓝消息请求解析器
 *
 * @author zhaoyong
 * @see ChuangLanMessageRequestResolver
 * @since 2021-08-07 17:26
 */
public interface ChuangLanMessageRequestResolver extends SimpleRegisterableService<MessageTemplateTypeEnum>  {

  /**
   * 发送消息请求解析器
   * @param request
   * @return
   */
  BaseSmsRequest resolve(MessageRequest request);

}
