POST api/WxSmallApp/UpdateWxMiniProgramInfo

更新微信小程序信息

Request Information

URI Parameters

None.

Body Parameters

WxMiniProgramUpdateDto
NameDescriptionTypeAdditional information
MyAppid

小程序类型

WxSmallType

None.

Appid

小程序appid

string

None.

AppSecret

小程序secret

string

None.

Qrcodeimg

二维码图片地址

string

None.

SmallAppName

小程序名称

string

None.

Color

导航背景颜色

string

None.

IsEnable

是否启用

boolean

None.

Request 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:
<WxMiniProgramUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.WxSmall">
  <AppSecret>sample string 2</AppSecret>
  <Appid>sample string 1</Appid>
  <Color>sample string 5</Color>
  <IsEnable>true</IsEnable>
  <MyAppid>WxSmallTc</MyAppid>
  <Qrcodeimg>sample string 3</Qrcodeimg>
  <SmallAppName>sample string 4</SmallAppName>
</WxMiniProgramUpdateDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'WxMiniProgramUpdateDto'.

Response Information

Resource Description

更新微信小程序信息

Object

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:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />