-
Notifications
You must be signed in to change notification settings - Fork 0
/
params.go
67 lines (65 loc) · 2.39 KB
/
params.go
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
package main
type header map[string]string
var HeaderMap = map[string]header{
"https://kyfw.12306.cn/otn/passcodeNew/checkRandCodeAnsyn": {
"Accept": "*/*",
"Origin": "https://kyfw.12306.cn",
"X-Requested-With": "XMLHttpRequest",
},
"https://kyfw.12306.cn/otn/login/loginAysnSuggest": {
"Accept": "*/*",
"Origin": "https://kyfw.12306.cn",
"X-Requested-With": "XMLHttpRequest",
"Referer": "https://kyfw.12306.cn/otn/login/init",
},
"https://kyfw.12306.cn/otn/login/userLogin": {
"Accept": "*/*",
"Origin": "https://kyfw.12306.cn",
"X-Requested-With": "XMLHttpRequest",
"Referer": "https://kyfw.12306.cn/otn/login/init",
},
"https://kyfw.12306.cn/otn/login/checkUser": {
"Accept": "*/*",
"Origin": "https://kyfw.12306.cn",
"X-Requested-With": "XMLHttpRequest",
},
"https://kyfw.12306.cn/otn/passcodeNew/getPassCodeNew.do?module=login&rand=sjrand&0.2680066132452339": {
"Accept": "image/webp,*/*;q=0.8",
"Referer": "https://kyfw.12306.cn/otn/login/init",
},
"https://kyfw.12306.cn/otn/leftTicket/query?": {
"Accept": "*/*",
"Cache-Control": "no-store,no-cache",
"Pragma": "no-cache",
"X-Requested-With": "XMLHttpRequest",
}, "https://kyfw.12306.cn/otn/dynamicJs/queryJs": {
"Accept": "*/*",
"Cache-Control": "no-cache",
},
"https://kyfw.12306.cn/otn/leftTicket/log?": {
"Accept": "*/*",
"Cache-Control": "no-store,no-cache",
"Pragma": "no-cache",
"X-Requested-With": "XMLHttpRequest",
},
"https://kyfw.12306.cn/otn/confirmPassenger/getPassengerDTOs": {
"Accept": "*/*",
"Origin": "https://kyfw.12306.cn",
"X-Requested-With": "XMLHttpRequest",
},
"https://kyfw.12306.cn/otn/confirmPassenger/autoSubmitOrderRequest": {
"Accept": "*/*",
"Origin": "https://kyfw.12306.cn",
"X-Requested-With": "XMLHttpRequest",
},
"https://kyfw.12306.cn/otn/confirmPassenger/confirmSingle": {
"Accept": "application/json, text/javascript, */*; q=0.01",
"Origin": "https://kyfw.12306.cn",
"X-Requested-With": "XMLHttpRequest",
},
"https://kyfw.12306.cn/otn/confirmPassenger/getQueueCountAsync": {
"Accept": "application/json, text/javascript, */*; q=0.01",
"Origin": "https://kyfw.12306.cn",
"X-Requested-With": "XMLHttpRequest",
},
}