mirror of
https://gitee.com/dromara/sms4j.git
synced 2025-12-07 17:38:38 +08:00
集成梦网科技短信发送服务 - 简单测试
This commit is contained in:
parent
ba63fb4214
commit
19b951c1a5
@ -559,4 +559,14 @@ public class Sms4jTest {
|
||||
Assert.isTrue(smsResponse2.isSuccess());
|
||||
}
|
||||
|
||||
/**
|
||||
* 梦网短信
|
||||
*/
|
||||
@Test
|
||||
public void montnetsSmsTest() {
|
||||
// 梦网
|
||||
SmsResponse smsResponse = SmsFactory.getBySupplier(SupplierConstant.MONTNETS).sendMessage(PHONE, SmsUtils.getRandomInt(6));
|
||||
Assert.isTrue(smsResponse.isSuccess());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user