渠道token续期
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| commodityToken | String | 可选 | commodityToken | token | |
| refreshExpire | Number | 可选 | 1111 | refreshToken过期时间 | |
| expire | Number | 可选 | 111111 | accessToken过期时间 | |
| commodityId | String | 可选 | xxxxxx | 商品ID | |
| commodityRefreshToken | String | 可选 | commodityRefreshToken | refreshToken | |
| AuthSign | String | 必须 | ioauosiduoqiwue | 签名 | |
| ReqSrc | String | 必须 | rom=web&appName=123 | 请求来源 | |
| timestamp | String | 必须 | 123123 | 时间戳 | |
| merchantId | String | 必须 | 123123 | merchantId | |
| nonce | String | 必须 | nonce | nonce |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| rspMsg | String | success | 响应信息 |
| data | RefreshTokenResult | 结果 | |
|
|||
| retCode | Number | 0 | 响应码 |
{"commodityToken":"commodityToken","refreshExpire":1111,"merchantId":"123123","expire":111111,"ReqSrc":"rom=web&appName=123","commodityId":"xxxxxx","commodityRefreshToken":"commodityRefreshToken","AuthSign":"ioauosiduoqiwue","nonce":"nonce","timestamp":"123123"}
{
"rspMsg":"success",
"data":{
"commodityToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdXRob3JpemVk",
"refreshExpire":1714682057,
"expire":1703658857,
"commodityId":1217829609572136580,
"commodityRefreshToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb21tb"
},
"retCode":0
}
{"":"sign-check-failure","rspMsg":"Illegal request","retCode":"不等于0"}
| 错误码 | 错误描述 | 解决方案 |
|---|