标签:前端 style strong height 请求 随机数生成 https 绑定 ppi
| 名称 | 变量名 | 必填 | 类型 | 示例值 | 描述 | 
| 公众号id | appid | 是 | String(16) | wx8888888888 | 商户注册具有支付权限的公众号成功后即可获得 | 
| 时间戳 | timeStamp | 是 | String(32) | 1414561699 | 当前的时间,其他详见 时间戳规则(https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_2) | 
| 随机字符串 | nonceStr | 是 | String(32) | 
 5K8264ILTKCH16CQ250 
2SI8ZNMTM67VS 
 | 
随机字符串,不长于32位。推荐随机数生成算法(https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3) | 
| 订单详情扩展字符 | package | 是 | String(128) | 
 prepay_id=123456789 
 | 
统一下单接口返回的prepay_id参数值,提交格式如: prepay_id=*** | 
| 签名方式 | signType | 是 | String(32) | 
 MD5 
 | 
 签名类型,默认为MD5,?持HMAC-SHA256和MD5。注意此处需 
 | 
| 签名 | paySign | 是 | String(64) | 
 C380BEC2BFD727A4B68 
45133519F3AD6 
 | 
签名,详见签名生成算法 (https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=4_3) | 
标签:前端 style strong height 请求 随机数生成 https 绑定 ppi
原文地址:https://www.cnblogs.com/xinzaiyuan/p/12904618.html