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

    Class ArticlePost

    发帖信息

    Implements

    Index

    Constructors

    Properties

    commentable: boolean = true

    是否允许评论

    content: string = ''

    帖子内容

    isAnonymous?: boolean

    是否匿名

    isNotifyFollowers: boolean = false

    是否通知帖子关注者

    isShowInList: boolean = true

    是否在列表展示

    offerPoint?: number

    提问悬赏积分

    rewardContent?: string

    打赏内容

    rewardPoint?: number

    打赏积分

    tags: string = ''

    帖子标签

    title: string = ''

    帖子标题

    type: ArticleType = ArticleType.Normal

    帖子类型

    Methods

    • 转换为接口请求数据

      Returns {
          articleAnonymous: boolean | undefined;
          articleCommentable: boolean;
          articleContent: string;
          articleNotifyFollowers: boolean;
          articleQnAOfferPoint: number | undefined;
          articleRewardContent: string | undefined;
          articleRewardPoint: number | undefined;
          articleShowInList: number;
          articleTags: string;
          articleTitle: string;
          articleType: ArticleType;
      }

      接口请求数据