Skip to content
This repository was archived by the owner on Oct 20, 2020. It is now read-only.

Commit b7619b8

Browse files
committed
update readme.md
1 parent 0ce7aee commit b7619b8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Getui::pushMessageToApp($data);
9393
``` php
9494
$data = [
9595
'template_type' => 1,
96-
'template_type' => [
96+
'template_data' => [
9797
'title' => '', // 通知标题,string(40), 必填
9898
'text' => '', // 通知内容,string(600), 必填
9999
'transmission_type' => 2, // 是否立即启动应用:1 立即启动 2 等待客户端自启动,必填
@@ -107,7 +107,7 @@ Getui::pushMessageToApp($data);
107107
``` php
108108
$data = [
109109
'template_type' => 2,
110-
'template_type' => [
110+
'template_data' => [
111111
'title' => '', // 通知标题,string(40), 必填
112112
'text' => '', // 通知内容,string(600), 必填
113113
'url' => '', // 点击通知后打开的网页地址,string(200), 必填
@@ -121,7 +121,7 @@ Getui::pushMessageToApp($data);
121121
``` php
122122
$data = [
123123
'template_type' => 3,
124-
'template_type' => [
124+
'template_data' => [
125125
'title' => '', // 通知标题,string(40), 必填
126126
'text' => '', // 通知内容,string(600), 必填
127127
'pop_title' => '', // 弹出框标题,string(40), 必填
@@ -142,7 +142,7 @@ Getui::pushMessageToApp($data);
142142
``` php
143143
$data = [
144144
'template_type' => 4,
145-
'template_type' => [
145+
'template_data' => [
146146
'transmission_type' => 2, // 是否立即启动应用:1 立即启动 2 等待客户端自启动,必填
147147
'transmission_content' => '', // 透传内容,不支持转义字符,string(2048), 必填
148148
'is_ios' => false, // 是否支持 ios (默认不支持),boolean

0 commit comments

Comments
 (0)