简要描述:

  • 使用从平台获取的Auth_Ticket和Auth_Code,通过HttpPost方式,获取token,接口会返回以json文本的形式返回相应的值。

请求URL:

  • /api/place/auth/access_token

请求方式:

  • POST

请求参数:

参数名称 类型 必选 长度 接口介绍
app_id String Y 32 app_id 和app_secret (由平台运维人员提供)
timestamp String Y 10 当前时间戳
sign String Y 32 表示签名规则:
10位timestamp去掉后3位后拼接
app_id+app_secret +auth_code +timestamp
将上面字符串MD5 加密。

返回参数说明:

参数名称 类型 说明
time int 当前服务器时间
expire_in int 多少秒后过期
token string 平台访问授权token
文档更新时间: 2024-10-24 14:41   作者:管理员