
com.pentahohub.nexus.sms.SmsService Maven / Gradle / Ivy
package com.pentahohub.nexus.sms;
import java.util.List;
/**
* 短信服务
*
* @author LUOXC
*/
public interface SmsService {
/**
* 发送短信
*
* @param toMobilePhone
* 手机号码
* @param messageContent
* 短信内容
* @throws SmsException
*/
void send(String toMobilePhone, String messageContent) throws SmsException;
/**
* 取上行短信
*
* @return
* @throws SmsException
*/
List get() throws SmsException;
/**
* 取指定号码上行短信
*
* @param mobilePhone
* 手机号码
* @return
* @throws SmsException
*/
List get(String mobilePhone) throws SmsException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy