GET api/Plugin/GetAll?getPlugin={getPlugin}

后台 - 获取门户所有插件(getPlugin传false表示取小程序)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
getPlugin

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

后台 - 获取门户所有插件(getPlugin传false表示取小程序)

Collection of PluginListWithAuthDto
NameDescriptionTypeAdditional information
IsAuth

是否具备该插件授权

boolean

None.

ExpiryTime

插件有效截至时间

date

None.

ConfigUrl

配置路由

string

None.

Id

主键

integer

None.

Name

名称

string

None.

IsShelf

是否上架(1上架、0下架)

boolean

None.

IsActive

状态(1启用、0禁用)

boolean

None.

PlugInType

组件类型

PlugInType

None.

PlugInEnum

插件性质

PlugInEnum

None.

PlugInCategary

插件分类

PlugInCategary

None.

PlugInProperty

插件属性

PlugInProperty

None.

PicUrl

封面

string

None.

Sort

排序值

integer

None.

Description

简介

string

None.

Price

价格

decimal number

None.

Attachments

图片附件

Collection of AttachmentDto

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<ArrayOfPluginListWithAuthDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.Plugin">
  <PluginListWithAuthDto>
    <Attachments>
      <AttachmentDto>
        <EntityId>2</EntityId>
        <EntityType>Plugin</EntityType>
        <FilePath>sample string 3</FilePath>
        <Id>1</Id>
      </AttachmentDto>
      <AttachmentDto>
        <EntityId>2</EntityId>
        <EntityType>Plugin</EntityType>
        <FilePath>sample string 3</FilePath>
        <Id>1</Id>
      </AttachmentDto>
    </Attachments>
    <Description>sample string 9</Description>
    <Id>3</Id>
    <IsActive>true</IsActive>
    <IsShelf>true</IsShelf>
    <Name>sample string 4</Name>
    <PicUrl>sample string 7</PicUrl>
    <PlugInCategary>Module</PlugInCategary>
    <PlugInEnum>Module</PlugInEnum>
    <PlugInProperty>Hot</PlugInProperty>
    <PlugInType>PlugIn</PlugInType>
    <Price>10.1</Price>
    <Sort>8</Sort>
    <ConfigUrl>sample string 2</ConfigUrl>
    <ExpiryTime>2024-04-30T01:37:29.3635972+08:00</ExpiryTime>
    <IsAuth>true</IsAuth>
  </PluginListWithAuthDto>
  <PluginListWithAuthDto>
    <Attachments>
      <AttachmentDto>
        <EntityId>2</EntityId>
        <EntityType>Plugin</EntityType>
        <FilePath>sample string 3</FilePath>
        <Id>1</Id>
      </AttachmentDto>
      <AttachmentDto>
        <EntityId>2</EntityId>
        <EntityType>Plugin</EntityType>
        <FilePath>sample string 3</FilePath>
        <Id>1</Id>
      </AttachmentDto>
    </Attachments>
    <Description>sample string 9</Description>
    <Id>3</Id>
    <IsActive>true</IsActive>
    <IsShelf>true</IsShelf>
    <Name>sample string 4</Name>
    <PicUrl>sample string 7</PicUrl>
    <PlugInCategary>Module</PlugInCategary>
    <PlugInEnum>Module</PlugInEnum>
    <PlugInProperty>Hot</PlugInProperty>
    <PlugInType>PlugIn</PlugInType>
    <Price>10.1</Price>
    <Sort>8</Sort>
    <ConfigUrl>sample string 2</ConfigUrl>
    <ExpiryTime>2024-04-30T01:37:29.3635972+08:00</ExpiryTime>
    <IsAuth>true</IsAuth>
  </PluginListWithAuthDto>
</ArrayOfPluginListWithAuthDto>