File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 2424< dependency>
2525 < groupId> cn. jpush. api< / groupId>
2626 < artifactId> jpush- client< / artifactId>
27- < version> 3.3 . 7 < / version>
27+ < version> 3.3 . 8 < / version>
2828< / dependency>
2929```
3030### jar 包方式
4444 < dependency>
4545 < groupId> cn. jpush. api< / groupId>
4646 < artifactId> jiguang- common< / artifactId>
47- < version> 1.1 . 1 < / version>
47+ < version> 1.1 . 3 < / version>
4848 < / dependency>
4949 < dependency>
5050 < groupId> io. netty< / groupId>
@@ -230,7 +230,11 @@ try {
230230 public static void testSendWithSMS() {
231231 JPushClient jpushClient = new JPushClient (masterSecret, appKey);
232232 try {
233- SMS sms = SMS . content(" Test SMS" , 10 );
233+ SMS sms = SMS . newBuilder()
234+ .setDelayTime(1000 )
235+ .setTempID(2000 )
236+ .addPara(" Test" , 1 )
237+ .build();
234238 PushResult result = jpushClient. sendAndroidMessageWithAlias(" Test SMS" , " test sms" , sms, " alias1" );
235239 LOG . info(" Got result - " + result);
236240 } catch (APIConnectionException e) {
You can’t perform that action at this time.
0 commit comments