核销成功消息
event#162TICKET_CHECK_DONESHOP_TICKET_ORDER_DATA
Scope: `SHOP_TICKET_ORDER_DATA` 需要申请权限 需要用户授权
Scope: SHOP_TICKET_ORDER_DATA 需要申请权限 需要用户授权
触发场景#
票务核销时
公共参数#
| 参数名称 | 参数类型 | 参数描述 |
|---|
| event | string | 事件名 |
| timestamp | string | 事件发生时间标签 格式为yyyy-MM-dd HH:mm:ss(UTC+8) |
| content | Struct | 具体消息结构体 |
消息字段#
| 字段名 | 类型 | 说明 |
|---|
| order_sn | Long | 订单号 |
| items_id | Long | 项目id |
| uid | Long | 用户ID |
| check_in_time | Date | 检票时间 |
| tickets | List/Tickets | 票信息列表 |
| session | session | 场次信息 |
| 字段名 | 类型 | 说明 |
|---|
| id | Long | 票ID |
| title | String | 票名称 |
| type | String | 票类型 |
| price | Long | 票价格(单位:分) |
| seat_zone | String | 座位区域 |
| seat_no | String | 座位编号 |
| attendee | attendee | 参会人信息 |
| screen_name | String | 场次名称 |
| 字段名 | 类型 | 说明 |
|---|
| name | String | 姓名(明文) |
| id_type | Byte | 证件类型:0-身份证,1-护照,2-港澳居民来往内地通行证,3-台湾居民来往大陆通行证 |
| id_number | String | 证件号码(加密数据,Base64编码的AES加密字符串) |
| mobile | String | 手机号(加密数据,Base64编码的AES加密字符串) |
| 字段名 | 类型 | 说明 |
|---|
| id | Long | 场次ID |
| title | String | 场次名称 |
| start_time | Date | 场次开始时间 |
json
{
"event": "TICKET_CHECK_DONE",
"timestamp": "2024-10-08 21:39:27",
"content": {
"event": "TICKET_CHECK_DONE",
"clientId": "XXXX",
"source": "bilibili",
"content": {
"order_sn": 1234567890,
"uid": 888888,
"check_in_time": "2025-12-15T10:30:00.000+00:00",
"tickets": [
{
"id": 10001,
"title": "VIP票",
"type": "VIP",
"price": 58800,
"seat_zone": "A区",
"seat_no": "A01-001",
"attendee": {
"name": "张三",
"id_type": 0,
"id_number": "AES_ENCRYPTED_ID_CARD_DATA_BASE64_STRING_HERE",
"mobile": "AES_ENCRYPTED_MOBILE_DATA_BASE64_STRING_HERE"
},
"screen_name":"场次名称"
}
],
"session": {
"id": 5001,
"title": "2025跨年演唱会",
"start_time": "2025-12-31T19:00:00.000+00:00"
}
}
}
}
原始文档:162_核销成功消息.md(3003 字节)。用 bili_docs_get { "ref": "162" } 读全文,用 bili_docs_search { "query": "…" } 检索。