Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Helpcenter

文本编辑服务器服务接口

Hierarchy

  • Helpcenter

Index

Constructors

Methods

  • GetHelpcenterGetcontent(firstcategoryid: string, limit?: number, page?: number, secondcategoryid: string, callback?: (response: GetHelpcenterGetcontentResponse) => void, loading?: boolean, isshow?: boolean): void
  • 获取内容列表

    Parameters

    Returns void

  • GetHelpcenterGetsecondcategory(firstcategoryid: string, limit?: number, page?: number, callback?: (response: GetHelpcenterGetsecondcategoryResponse) => void, loading?: boolean, isshow?: boolean): void
  • PostHelpcenterAddcontent(enable: number, firstcategoryid: string, secondcategoryid: string, slug: string, text: string, title: string, callback?: (response: PostHelpcenterAddcontentResponse) => void, loading?: boolean, isshow?: boolean): void
  • 新增二级分类

    Parameters

    • enable: number

      是否启用 0 停用 1 启用

    • firstcategoryid: string

      一级分类ID

    • secondcategoryid: string

      二级分类ID

    • slug: string

      文本简报

    • text: string

      文本内容

    • title: string

      标题

    • Optional callback: (response: PostHelpcenterAddcontentResponse) => void

      请求回调函数

    • loading: boolean = true

      是否显示loading条

    • isshow: boolean = true

      是否显示errmsg

    Returns void

  • PostHelpcenterAddsecondcategory(enable: number, firstcategoryid: string, icon?: string, name: string, slug: string, callback?: (response: PostHelpcenterAddsecondcategoryResponse) => void, loading?: boolean, isshow?: boolean): void
  • PostHelpcenterModcontent(contentid: string, enable?: number, firstcategoryid?: string, secondcategoryid?: string, slug?: string, text?: string, title?: string, callback?: (response: PostHelpcenterModcontentResponse) => void, loading?: boolean, isshow?: boolean): void
  • 修改内容 可选参数不能全空

    Parameters

    • contentid: string

      内容ID

    • enable: number = -1

      是否启用 0 停用 1 启用

    • firstcategoryid: string = ''

      一级分类ID

    • secondcategoryid: string = ''

      二级分类ID

    • slug: string = ''

      文本简报

    • text: string = ''

      文本内容

    • title: string = ''

      名称

    • Optional callback: (response: PostHelpcenterModcontentResponse) => void

      请求回调函数

    • loading: boolean = true

      是否显示loading条

    • isshow: boolean = true

      是否显示errmsg

    Returns void

  • PostHelpcenterModfirstcategory(enable?: number, firstcategoryid: string, icon?: string, name?: string, callback?: (response: PostHelpcenterModfirstcategoryResponse) => void, loading?: boolean, isshow?: boolean): void
  • PostHelpcenterModsecondcategory(enable?: number, icon?: string, name?: string, secondcategoryid: string, slug?: string, callback?: (response: PostHelpcenterModsecondcategoryResponse) => void, loading?: boolean, isshow?: boolean): void
  • 修改二级分类(三个可选参数不能全空)

    Parameters

    Returns void

Generated using TypeDoc