menu MDClub JavaScript SDK ๆ–‡ๆกฃ

QuestionApi.deleteVote

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

ๅ–ๆถˆไธบๆ้—ฎ็š„ๆŠ•็ฅจใ€‚

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

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

ๅ‚ๆ•ฐ

DeleteVoteParams QuestionApi.ts:118

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

ๆ้—ฎID

ๅ“ๅบ”

VoteCountResponse models.ts:2332

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

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

dataVoteCount

VoteCount models.ts:2317

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

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

vote_down_countnumber

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

vote_up_countnumber

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