GET api/WeChatPublic/GetWechatPublicConfig

后台 - 获取微信公众号配置

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

后台 - 获取微信公众号配置

WechatPublicConfigDto
NameDescriptionTypeAdditional information
Id

integer

None.

Name

公众号名称

string

None.

QrCodeUrl

公众号二维码地址

string

None.

AppId

AppId

string

None.

AppSecret

AppSecret

string

None.

ApiToken

ApiToken

string

None.

EncodingAESKey

消息加解密密钥

string

None.

EncodeType

加密方式

WechatAESEncodingType

None.

EncodeTypeValue

加密方式

integer

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:
<WechatPublicConfigDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.WeChat">
  <ApiToken>sample string 6</ApiToken>
  <AppId>sample string 4</AppId>
  <AppSecret>sample string 5</AppSecret>
  <EncodeType>NoEncryption</EncodeType>
  <EncodingAESKey>sample string 7</EncodingAESKey>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <QrCodeUrl>sample string 3</QrCodeUrl>
</WechatPublicConfigDto>