POST api/Account/GetWxDecrypt

微信小程序解密微信encryptedData获取手机号码

Request Information

URI Parameters

None.

Body Parameters

WXDecryptModel
NameDescriptionTypeAdditional information
encryptedData

完整用户信息的加密数据

string

None.

iv

加密算法的初始向量

string

None.

sessionKey

sessionKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "encryptedData": "sample string 1",
  "iv": "sample string 2",
  "sessionKey": "sample string 3"
}

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 'WXDecryptModel'.

Response Information

Resource Description

微信小程序解密微信encryptedData获取手机号码

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.