init:框架

This commit is contained in:
2021-09-11 11:28:16 +08:00
commit d500a2da57
11 changed files with 539 additions and 0 deletions

36
config.yaml.example Normal file
View File

@@ -0,0 +1,36 @@
# 教务cookie
cookie: "JSESSIONID=asd;"
# 在 https://qmsg.zendee.cn 申请
qmsgKey: "v9631222364dd7ae99909cb63b7445c5"
# 轮询间隔毫秒
interval: 100
# 监控列表
# channel: bx必修,xx限选,rx任选
# kch课程号kxh课序号
monit:
list:
- kch: sd01332200
kxh: 100
channel: rx
# 抢课列表,列表中全抢
acquire:
list:
- kch: sd01332200
kxh: 100
channel: rx
- kch: sd00812930
kxh: 900
channel: xx
# 换课列表(先退掉冲突的课再抢课),列表中任抢其一
replace:
list:
- kch: sd01332200
kxh: 100
channel: bx
- kch: sd01332200
kxh: 100
channel: bx
exit:
kch: sd01332299
kxh: 100
channel: bx