Skip to content

Commit a27cdd6

Browse files
authored
Update README.md
1 parent f36dbba commit a27cdd6

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
'message_type' => '',
2323
'environment'=>''
2424
];
25-
2625
```
2726

2827
# 全量推送
@@ -34,7 +33,6 @@
3433
];
3534
$app_push = new AppPush($config);
3635
$app_push->send_all($content,'notify');
37-
3836
```
3937
# 单账号推送或多账号推送
4038
> 一对一给用户发送消息 或 多个账号发送消息
@@ -48,7 +46,6 @@
4846
$account=['one'];//单账号推送
4947
$account=['one','two'];//多个账号推送
5048
$app_push->send_account($content, $account,$message_type);
51-
5249
```
5350
# 单设备推送或多设备推送
5451
> 单或多设备推送 传递数量判断
@@ -62,7 +59,6 @@
6259
$token=['one'];//单设备推送
6360
$token=['one','two'];//多个设备推送
6461
$app_push->send_token($content, $token,$message_type);
65-
6662
```
6763
# 标签推送
6864
> tag 字段根据开发文档 tag_items 字段 自定义
@@ -74,7 +70,6 @@
7470
| message_type | string | 默认:notify(可不传); notify:通知;message:透传消息/静默消息 |
7571
```
7672
$app_push->send_tag($content, $tag,$message_type);
77-
7873
```
7974

8075
# 标签绑定与解绑
@@ -96,7 +91,6 @@
9691
$operator_type = 9;
9792
$array = ['tag_token_list' => []];
9893
$app_push->set_tag($operator_type, $array = []);
99-
10094
```
10195
# 删除标签下所有设备
10296

@@ -105,5 +99,4 @@
10599
| tag_list | array | 待删除标签列表:"tag_list": ["test_tag_3_Ik0N0", "test_tag_2_Ik0N0"] |
106100
```
107101
$app_push->delete_tag(['tag_list'=>[]]);
108-
109102
```

0 commit comments

Comments
 (0)