menu MDClub JavaScript SDK ๆ–‡ๆกฃ

NotificationApi.getCount

ๆณจๆ„๏ผš่ฏฅๆŽฅๅฃ้œ€่ฆ็™ป้™†ๅŽๆ‰่ƒฝ่ฐƒ็”จใ€‚

่Žทๅ–ๆœช่ฏป้€š็Ÿฅๆ•ฐ้‡ใ€‚

ๆ–นๆณ•ๅฎšไน‰

NotificationApi.getCount(param: GetCountParams): Promise<NotificationCountResponse>

ๅ‚ๆ•ฐ

GetCountParams NotificationApi.ts:40

ๅ‚ๆ•ฐๅๅฟ…้€‰็ฑปๅž‹่ฏดๆ˜Ž
typeๅฆstring

้€š็Ÿฅ็ฑปๅž‹

ๅ–ๅ€ผ่Œƒๅ›ดๅŒ…ๆ‹ฌ๏ผšquestion_answeredใ€question_commentedใ€question_deletedใ€article_commentedใ€article_deletedใ€answer_commentedใ€answer_deletedใ€comment_repliedใ€comment_deleted

ๅ“ๅบ”

NotificationCountResponse models.ts:667

ๅ‚ๆ•ฐๅ็ฑปๅž‹่ฏดๆ˜Ž
codenumber

ๆ— ไปปไฝ•้”™่ฏฏๆ—ถ๏ผŒ็Šถๆ€็ ไธบ 0

dataNotificationCount

NotificationCount models.ts:660

ๅ‚ๆ•ฐๅ็ฑปๅž‹่ฏดๆ˜Ž
notification_countnumber

ๆœช่ฏป้€š็Ÿฅๆ•ฐ้‡