GET dz_api/UrlGen/GetIcon?openId={openId}

获取头像

Request Information

URI Parameters

NameDescriptionTypeAdditional information
openId

string

Required

Body Parameters

None.

Response Information

Resource Description

获取头像

IconResultModel
NameDescriptionTypeAdditional information
isOk

boolean

None.

headimgurl

string

None.

errmsg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "isOk": true,
  "headimgurl": "sample string 2",
  "errmsg": "sample string 3"
}

application/xml, text/xml

Sample:
<IconResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.WebApi.Areas.WxUrl.Models">
  <errmsg>sample string 3</errmsg>
  <headimgurl>sample string 2</headimgurl>
  <isOk>true</isOk>
</IconResultModel>