FishPi.js API Documentation - v0.1.28
    Preparing search index...

    Class CommentPost

    评论提交信息

    Implements

    Index

    Constructors

    Properties

    articleId: string = ''

    文章 Id

    content: string = ''

    评论内容

    isAnonymous: boolean = false

    是否匿名评论

    isVisible: boolean = true

    评论是否公共可见

    originalId?: string

    回复评论 Id

    Methods

    • 转换为接口请求数据

      Returns {
          articleId: string;
          commentAnonymous: number;
          commentContent: string;
          commentOriginalCommentId: string | undefined;
          commentVisible: number;
      }

      接口请求数据