CommentApi.deleteVote

注意:该接口需要登陆后才能调用。

取消为评论的投票。

方法定义

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

参数

DeleteVoteParams CommentApi.ts:57

参数名 必选 类型 说明
comment_id number

评论ID

响应

VoteCountResponse models.ts:2332

参数名 类型 说明
code number

无任何错误时,状态码为 0

data VoteCount

VoteCount models.ts:2317

参数名 类型 说明
vote_count number

投票目标获得的总投票量(赞成票 - 反对票),结果可以为负数

vote_down_count number

反对票总数

vote_up_count number

赞成票总数