Skip to content

Commit c7f4811

Browse files
committed
Update doc
1 parent 790b8ad commit c7f4811

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
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 包方式
@@ -44,7 +44,7 @@
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) {

0 commit comments

Comments
 (0)