集成梦网科技短信发送服务 - 简单测试

This commit is contained in:
SU 2025-04-23 17:14:00 +08:00
parent ba63fb4214
commit 19b951c1a5

View File

@ -559,4 +559,14 @@ public class Sms4jTest {
Assert.isTrue(smsResponse2.isSuccess()); Assert.isTrue(smsResponse2.isSuccess());
} }
/**
* 梦网短信
*/
@Test
public void montnetsSmsTest() {
// 梦网
SmsResponse smsResponse = SmsFactory.getBySupplier(SupplierConstant.MONTNETS).sendMessage(PHONE, SmsUtils.getRandomInt(6));
Assert.isTrue(smsResponse.isSuccess());
}
} }