4.15 存储用户信息.md 1.37 KB

请求参数说明:

参数 必选 类型 说明
appId true string 应用ID
openId true string 微信openId
userEncryptedData true string 微信加密信息
iv true string 微信iv
source true string 小程序
clientPlat true string 客户端平台[i:IOS客户端,a:Android客户端, w: 网页]
sign true string 签名

返回格式说明:

{
    "errorCode": "0",
    "errorMessage": "成功"
}
{
    "errorCode": "42026",
    "errorMessage": "OpenId错误"
}
{
    "errorCode": "40001",
    "errorMessage": "解密错误"
}

{
    "errorCode": "1",
    "errorMessage": "请求参数无效"
}


{
    "errorCode": "41005",
    "errorMessage": "ClientPlat无效"
}
{
    "errorCode": "40005",
    "errorMessage": "其他错误"
}