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 12d12966b90dbc4b7901324066251e1ecfd2152e..a548592ab0f466c0f88289a16d4ce83c1220a690 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: {