.
QQ扫一扫联系
参数 | 错误说明 |
---|---|
app_id | AppId |
timestamp | 时间戳,从1970年01月01日到现在的秒数,误差不超过1800秒 |
sign | 请求签名,计算方式见 签名生成方法 |
param = "app_id=xxxxxxxxxx&body=test×tamp=1365773829";
一定要注意需要将参数按照参数名 ASCII 码进行排序
paramWithSecret = param + "&app_secret=xxxxxxxxxxxxxx"
sign = md5( paramWithSecret )
其中 xxxxxxxxxxxxxx 为 AppSecret , sign 为计算的签名
param = param + "&sign=" + sign
.