From 54ba2927b7fa0f8c340272de990efc35e16cfae1 Mon Sep 17 00:00:00 2001 From: yuyaozhi Date: Wed, 30 Aug 2023 09:33:13 +0800 Subject: [PATCH] Fix notification docs Signed-off-by: yuyaozhi --- zh-cn/application-dev/reference/apis/js-apis-notification.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-notification.md b/zh-cn/application-dev/reference/apis/js-apis-notification.md index 12d12966b9..a548592ab0 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-notification.md +++ b/zh-cn/application-dev/reference/apis/js-apis-notification.md @@ -74,7 +74,7 @@ publish(request: NotificationRequest): Promise\ ```js // 通知Request对象 let notificationRequest = { - notificationId: 1, + id: 1, content: { contentType: Notification.ContentType.NOTIFICATION_CONTENT_BASIC_TEXT, normal: { @@ -161,7 +161,7 @@ publish(request: NotificationRequest, userId: number): Promise\ ```js let notificationRequest = { - notificationId: 1, + id: 1, content: { contentType: Notification.ContentType.NOTIFICATION_CONTENT_BASIC_TEXT, normal: { -- GitLab