API文档

完整的开发者接口文档

认证接口示例

查看完整文档

获取Access Token

POST /api/v3/auth/token
Content-Type: application/json

{
  "client_id": "your_client_id",
  "client_secret": "your_client_secret",
  "grant_type": "client_credentials"
}

响应示例

{
  "code": 0,
  "message": "success",
  "data": {
    "access_token": "eyJhbGciOiJSUzI1NiIs...",
    "expires_in": 7200,
    "token_type": "Bearer"
  }
}

常见错误码

错误码说明解决方案
10001Token无效或已过期重新获取Access Token
20001影院不存在检查影院ID是否正确
30001场次已下线选择其他场次
40001座位已被占用重新选择座位