-
Notifications
You must be signed in to change notification settings - Fork 22
红包接口说明
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
参数名 | 数据类型 | 含义 | 备注 |
---|---|---|---|
OpenId | string | openid | |
Amount | int | 本次红包的金额(分) | 注意,这个参数的单位是“分”,最小金额是100分 |
ActName | string | 活动名称 | |
Remark | string | 备注 | 备注并不在发红包的用户流程上面有所体现,但是必填,在服务号后台有所体现 |
SendName | string | 发送者 | |
Wishing | string | 祝福的话 | |
Code | string | 防伪标记 | 请单独联系我获取 |