| 接口环境 | 接口链接 |
|---|---|
| 测试环境 | https://open-test.wanqidian.com |
| 生产环境 | https://open.wanqidian.com |
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| appid | 是 | String | 分配给渠道的AppId |
| timestamp | 是 | Long | 时间戳(秒),有效期10分钟 |
| noncestr | 是 | String | 随机 字符串 |
| sign | 是 | String | 签名 |
appid、appsecret、timestamp、noncestr和body参数),根据参数名称的ASCII码表的顺序排序,Body请求体的参数key名称为body&符号连接, 比如:appid={appid}&appsecret={appsecret}&body={body}&noncestr={noncestr}×tamp={timestamp}UTF-8格式编码,并进行SHA1签名得到的签名结果再转化为小写,即得到签名字符串sign为key附加到URL的QueryString后面,如:appid=ca5ff8s76e211d12016e21a627530031&noncestr=xxxxxx×tamp=1584430120&sign=c6b8ce9e9d4a3a30d7db6e48f4a903efb099d15c