postCommentDelete method

Future<String> postCommentDelete(
  1. int commentId
)

删除评论(自己的)
commentId - 评论ID

Implementation

Future<String> postCommentDelete(int commentId) async {
  return _httpClient
      .post<String>(
        '/v1/illust/comment/delete',
        data: FormData.fromMap(
          {
            'comment_id': commentId,
          },
        ),
      )
      .then((response) => response.data!);
}