@Service
public class PushServiceSms
extends Object
-
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
regionId
@Value("${aliyun.region.id:cn-hangzhou}")
private String regionId
-
accessKeyId
@Value("${aliyun.access.key.id:}")
private String accessKeyId
-
accessKeySecret
@Value("${aliyun.access.key.secret:}")
private String accessKeySecret
-
signName
@Value("${aliyun.sms.signname:}")
private String signName
-
templateCode
@Value("${aliyun.sms.templatecode:}")
private String templateCode
-
-
Constructor Details
-
PushServiceSms
public PushServiceSms()
-
Method Details
-
init
@Autowired
public void init()
初始化时处理配置项编码问题
-
-
send
@Async
public void send(String mobile,
String country,
String content,
jakarta.servlet.http.HttpServletRequest request)
-