- 首页
- App/H5对接流程:
- API开放接口对接流程
- 小程序对接流程v1.0
- 数据推送说明
- 基础信息
- 电影票接口
- 吃喝玩乐接口
- 购物接口
- 卡券接口
- 点餐接口
- 礼金接口
获取接口访问令牌
POST
/api/oauth/token
OAuth
请求参数
Body 参数application/json
entId
string | null
渠道id
appSecret
string | null
密钥
示例
{
"entId": "string",
"appSecret": "string"
}
返回响应
🟢200Success
application/json
Body
code
integer <int32>
code
message
string | null
message
data
object (ChannelToken)
可选
access_token
string | null
接口调用凭证
token_type
string | null
凭证类型
auth_time
integer <int64>
可选
expires_at
integer <int64>
可选
示例
{
"code": 0,
"message": "string",
"data": {
"access_token": "string",
"token_type": "string",
"auth_time": 0,
"expires_at": 0
}
}
修改于 2024-10-30 04:02:29