Skip to content

Commit 1d58d4c

Browse files
author
Helperhaps
authored
Merge pull request #41 from TangGaolin/master
关于JPUSH 文档的修改
2 parents a6a91af + 89d5055 commit 1d58d4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ $response = $push()
231231
$platform = array('ios', 'android');
232232
$alert = 'Hello JPush';
233233
$tag = array('tag1', 'tag2');
234-
$regId = arrag('rid1', 'rid2');
234+
$regId = array('rid1', 'rid2');
235235
$ios_notification = array(
236236
'sound' => 'hello jpush',
237237
'badge' => 2,
@@ -271,7 +271,7 @@ $response = $push->setPlatform($platform)
271271
->iosNotification($alert, $ios_notification)
272272
->androidNotification($alert, $android_notification)
273273
->message($content, $message)
274-
->options($options);
274+
->options($options)
275275
->send();
276276
```
277277

0 commit comments

Comments
 (0)