接口認證方式:Bearer Token 将獲取的access_token放到請求頭部的Authorization中,請注意空格隔開 示例: RequestEntity.get(URI.create("url")).header("Authorization",String.format("Bearer %s",token));
接口信息請求參數
描述
值
請求地址
請求方式
GET
返回參數
參數名稱
類型
是否必須
參數說明
client_id
string
是
appKey (注冊賬号後登陸開放平台首頁獲取)
client_secret
string
是
appSecret (注冊賬号後登陸開放平台首頁獲取)
,
參數名稱
參數說明
access_token
token值(有效期為2h,過期後須重新獲取)
token_type
固定值:bearer
expires_in
token有效期,單位:s
更多精彩资讯请关注tft每日頭條,我们将持续为您更新最新资讯!