提交 e3b36881 编写于 作者: Y yuyaozhi

Fix notification docs

Signed-off-by: Nyuyaozhi <yuyaozhi@huawei.com>
上级 30c7f342
...@@ -76,7 +76,7 @@ publish(request: NotificationRequest): Promise\<void\> ...@@ -76,7 +76,7 @@ publish(request: NotificationRequest): Promise\<void\>
```js ```js
// 通知Request对象 // 通知Request对象
let notificationRequest = { let notificationRequest = {
notificationId: 1, id: 1,
content: { content: {
contentType: Notification.ContentType.NOTIFICATION_CONTENT_BASIC_TEXT, contentType: Notification.ContentType.NOTIFICATION_CONTENT_BASIC_TEXT,
normal: { normal: {
...@@ -163,7 +163,7 @@ publish(request: NotificationRequest, userId: number): Promise\<void\> ...@@ -163,7 +163,7 @@ publish(request: NotificationRequest, userId: number): Promise\<void\>
```js ```js
let notificationRequest = { let notificationRequest = {
notificationId: 1, id: 1,
content: { content: {
contentType: Notification.ContentType.NOTIFICATION_CONTENT_BASIC_TEXT, contentType: Notification.ContentType.NOTIFICATION_CONTENT_BASIC_TEXT,
normal: { normal: {
......
...@@ -215,7 +215,7 @@ publish(request: NotificationRequest, userId: number): Promise\<void\> ...@@ -215,7 +215,7 @@ publish(request: NotificationRequest, userId: number): Promise\<void\>
```js ```js
let notificationRequest = { let notificationRequest = {
notificationId: 1, id: 1,
content: { content: {
contentType: Notification.ContentType.NOTIFICATION_CONTENT_BASIC_TEXT, contentType: Notification.ContentType.NOTIFICATION_CONTENT_BASIC_TEXT,
normal: { normal: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册