获取接口调用凭证申请接口请联系客服,客服邮箱:vip@wqdian.com 客服QQ:31579781 (工作日9:00-17:30)
接口地址: /common/token
支持格式: JSON
请求方式: POST
请求示例: http://api.wqdian.com/common/token
接口备注: 获取接口调用凭证
参数与返回数据的JSON数据包示例
参数示例:
{
"appId": "string",
"appSecret": "string"
}
返回数据:
{
"data": {
"accessToken": "E69D5353BDA8C18B2B546BE4E1821F8A", //接口调用凭证
"expiresTime": 7200 //凭证有效期,单位秒
},
"errorCode": 200,
"errorMsg": "ok"
}
请求状态码:
200 成功
500 失败
501 参数有误请检查
10001 appId 无效
10003 apaSeret 无效
名称 | 类型 | 必填 | 说明 |
appId | String | 是 | appId唯一 ,用来生成凭证accessToken |
appSecret | String | 是 | appSecret唯一 ,用来生成凭证accessToken |