File size: 1,161 Bytes
0aee47a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
  "info": {
    "get": {
      "url": "https://show.bilibili.com/api/ticket/project/get",
      "method": "GET",
      "verify": false,
      "ignore_code": true,
      "params": {
        "id": "展出id"
      },
      "comment": "展出信息"
    },
    "buyer_info": {
      "url": "https://show.bilibili.com/api/ticket/buyer/list",
      "method": "GET",
      "verify": true,
      "ignore_code": true,
      "comment": "读取用户所有购买人身份"
    },
    "token": {
      "url": "https://show.bilibili.com/api/ticket/order/prepare",
      "method": "POST",
      "verify": true,
      "ignore_code": true,
      "no_csrf": true,
      "data": {
        "project_id": "项目id",
        "screen_id": "展出id",
        "sku_id": "票id"
      },
      "comment": "获取购票 token"
    }
  },
  "operate": {
    "order": {
      "url": "https://show.bilibili.com/api/ticket/order/createV2",
      "method": "POST",
      "verify": true,
      "no_csrf": true,
      "ignore_code": true, 
      "params": {
        "project_id": "展出id"
      },
      "comment": "创建订单"
    }
  }
}