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

Commit

Permalink
update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cncal committed Sep 2, 2017
1 parent 0ce7aee commit b7619b8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Getui::pushMessageToApp($data);
``` php
$data = [
'template_type' => 1,
'template_type' => [
'template_data' => [
'title' => '', // 通知标题,string(40), 必填
'text' => '', // 通知内容,string(600), 必填
'transmission_type' => 2, // 是否立即启动应用:1 立即启动 2 等待客户端自启动,必填
Expand All @@ -107,7 +107,7 @@ Getui::pushMessageToApp($data);
``` php
$data = [
'template_type' => 2,
'template_type' => [
'template_data' => [
'title' => '', // 通知标题,string(40), 必填
'text' => '', // 通知内容,string(600), 必填
'url' => '', // 点击通知后打开的网页地址,string(200), 必填
Expand All @@ -121,7 +121,7 @@ Getui::pushMessageToApp($data);
``` php
$data = [
'template_type' => 3,
'template_type' => [
'template_data' => [
'title' => '', // 通知标题,string(40), 必填
'text' => '', // 通知内容,string(600), 必填
'pop_title' => '', // 弹出框标题,string(40), 必填
Expand All @@ -142,7 +142,7 @@ Getui::pushMessageToApp($data);
``` php
$data = [
'template_type' => 4,
'template_type' => [
'template_data' => [
'transmission_type' => 2, // 是否立即启动应用:1 立即启动 2 等待客户端自启动,必填
'transmission_content' => '', // 透传内容,不支持转义字符,string(2048), 必填
'is_ios' => false, // 是否支持 ios (默认不支持),boolean
Expand Down

0 comments on commit b7619b8

Please sign in to comment.