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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
use formatcp;
pub const MYCQU_ROOT_URL: &str = "https://my.cqu.edu.cn";
pub const MYCQU_TOKEN_INDEX_URL: &str = formatcp!;
pub const MYCQU_TOKEN_URL: &str = formatcp!;
pub const MYCQU_AUTHORIZE_URL: &str = formatcp!;
pub const MYCQU_SERVICE_URL: &str =
formatcp!;
pub const MYCQU_API_SESSION_URL: &str =
formatcp!;
pub const MYCQU_API_USER_URL: &str = formatcp!;
pub const MYCQU_API_ALL_SESSION_INFO_URL: &str =
formatcp!;
pub const MYCQU_API_CURR_SESSION_INFO_URL: &str =
formatcp!;
pub const MYCQU_API_SESSION_INFO_DETAIL_URL: &str =
formatcp!;
pub const MYCQU_API_TIMETABLE_URL: &str =
formatcp!;
pub const MYCQU_API_ENROLL_TIMETABLE_URL: &str =
formatcp!;
pub const MYCQU_API_SCORE_URL: &str =
formatcp!;
pub const MYCQU_API_GPA_RANKING_URL: &str =
formatcp!;
pub const MYCQU_API_EXAM_LIST_URL: &str =
formatcp!;
pub const MYCQU_API_ENROLL_COURSE_LIST_URL: &str =
formatcp!;
pub const MYCQU_API_ENROLL_COURSE_DETAIL_URL: &str =
formatcp!;
pub const SSO_ROOT_URL: &str = "https://sso.cqu.edu.cn";
pub const SSO_LOGIN_URL: &str = formatcp!;
pub const SSO_LOGOUT_URL: &str = formatcp!;
pub const CARD_SERVICE_URL: &str = "http://card.cqu.edu.cn:7280/ias/prelogin?sysid=FWDT";
pub const CARD_HALL_TICKET_URL: &str = "http://card.cqu.edu.cn/cassyno/index";
pub const CARD_PAGE_URL: &str = "http://card.cqu.edu.cn/Page/Page";
pub const CARD_PAGE_TICKET_POST_FORM_URL: &str =
"http://card.cqu.edu.cn:8080/blade-auth/token/thirdToToken/fwdt";
pub const CARD_BLADE_AUTH_URL: &str = "http://card.cqu.edu.cn:8080/blade-auth/token/fwdt";
pub const CARD_GET_DORM_FEE_URL: &str =
"http://card.cqu.edu.cn:8080/charge/feeitem/getThirdData";
pub const CARD_GET_CARD_URL: &str = "http://card.cqu.edu.cn/NcAccType/GetCurrentAccountList";
pub const CARD_GET_BILL_URL: &str = "http://card.cqu.edu.cn/NcReport/GetMyBill";
// #[cfg(feature = "library")]
// pub(crate) const LIB_ROOT_URL: &str = "http://lib.cqu.edu.cn";
// #[cfg(feature = "library")]
// pub(crate) const LIB_ACCESS_URL: &str = "http://lib.cqu.edu.cn:8002/api/Auth/AccessToken";