menu MDClub JavaScript SDK ๆ–‡ๆกฃ

ArticleApi.deleteVote

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

ๅ–ๆถˆไธบๆ–‡็ซ ็š„ๆŠ•็ฅจใ€‚

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

ArticleApi.deleteVote(param: DeleteVoteParams): Promise<VoteCountResponse>

ๅ‚ๆ•ฐ

DeleteVoteParams ArticleApi.ts:97

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

ๆ–‡็ซ ID

ๅ“ๅบ”

VoteCountResponse models.ts:2332

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

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

dataVoteCount

VoteCount models.ts:2317

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

ๆŠ•็ฅจ็›ฎๆ ‡่Žทๅพ—็š„ๆ€ปๆŠ•็ฅจ้‡๏ผˆ่ตžๆˆ็ฅจ - ๅๅฏน็ฅจ๏ผ‰๏ผŒ็ป“ๆžœๅฏไปฅไธบ่ดŸๆ•ฐ

vote_down_countnumber

ๅๅฏน็ฅจๆ€ปๆ•ฐ

vote_up_countnumber

่ตžๆˆ็ฅจๆ€ปๆ•ฐ