参数名称 | 类型 | 是否必填 | 参数描述 | 备注 |
---|---|---|---|---|
api_key | String | 是 | 系统分配的ApiKey | |
api_target | String | 是 | 调用接口名称 | com_cmall_membercenter_oauth_api_RsyncTokenCode |
api_timespan | String | 是 | 时间戳 | 时间戳,格式为yyyy-MM-dd HH:mm:ss,例如:2012-11-05 11:15:30。API服务端允许客户端请求时间误差为10分钟。 |
api_secret | String | 是 | 加密认证串 | API输入参数签名结果 |
api_input | String | 是 | 输入参数 | 应用输入参数的JSON格式 |
参数名称 | 类型 | 必填 | 示例 | 参数描述 | 备注 |
---|---|---|---|---|---|
backUrl | String | 是 | http://www.yourdomain.com/callback?access_token= | 回调地址 | 回调的链接,会将access_token拼接到回调地址最后 |
callType | String | 否 | 调用类型 | 调用类型 网站:site [校验规则]: in=site |
|
version | int | 否 | 版本号 | 仅用于扩展,无需传入 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
callUrl | String | 调用的URL | 获取到令牌后跳转到的url |
tokenCode | String | 临时令牌 | |
resultCode | int | 返回标记 | 如果返回标记1则为API调用成功 否则则是错误编号 |
resultMessage | String | 返回消息 | 返回的消息描述 |