Skip to content

红包接口说明

L edited this page Feb 7, 2018 · 7 revisions

用户授权并查询用户信息

http://wx.ddxc.org/weixin/WeiXinRedPackInterface
GET

返回结果

参数名 数据类型 含义 备注
openid string openid
nickname string 昵称
sex int 性别 值为1时是男性,值为2时是女性,值为0时是未知
province string 省份
city string 城市
country string 国家
headimgurl string 头像 最后一个数值代表正方形头像大小(有0、46、64、96、132数值可选,0代表640*640正方形头像),用户没有头像时该项为空
privilege string[] 用户特权信息 数组,如微信沃卡用户为(chinaunicom)
unionid string unionid

发红包接口

http://wx.ddxc.org/weixin/ReallySendRedPackInterface
POST

请求参数

返回结果

Clone this wiki locally