commit
This commit is contained in:
@@ -47,6 +47,13 @@ public class SmsHguServiceImpl implements SmsService {
|
|||||||
doSend(title, content, receivers);
|
doSend(title, content, receivers);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 如果要发链接的消息,请以html的形式写在content中,就这么规定的,我也没办法
|
||||||
|
* channels,多个使用英文逗号进行分隔.一般情况下短信id是1;邮件是2;app消息是3;微信是4;钉钉是5;welink是6,目前先写死微信通道了
|
||||||
|
* @param title
|
||||||
|
* @param content
|
||||||
|
* @param receivers
|
||||||
|
*/
|
||||||
private void doSend(String title, String content, List<Map<String, String>> receivers) {
|
private void doSend(String title, String content, List<Map<String, String>> receivers) {
|
||||||
// 随机字符串
|
// 随机字符串
|
||||||
String nonce = R.UU32();
|
String nonce = R.UU32();
|
||||||
|
|||||||
Reference in New Issue
Block a user