插件开发工具库,推荐依赖该工具库。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

27 lines
503 B

package com.fanruan.api.util.trans;
/**
* 抽象短信体
*
* @author vito
* @since 2019-07-24
*/
public abstract class BaseSmsBody {
private String templateCode;
public String getTemplateCode() {
return templateCode;
}
void setTemplateCode(String templateCode) {
this.templateCode = templateCode;
}
/**
* 发送
*
* @return 发送结果
* @throws Exception 发送异常
*/
public abstract boolean send() throws Exception;
}