mirror of
https://github.com/ZSCNetSupportDept/scheduler.git
synced 2025-10-28 12:35:03 +08:00
改善配置模块代码~
This commit is contained in:
19
config.yaml
19
config.yaml
@@ -1,5 +1,10 @@
|
||||
# This is a example file for the system
|
||||
ListenPort: 25005
|
||||
|
||||
app:
|
||||
Name: "scheduler for ZSC Network Support staff"
|
||||
File: "ignore/aa.csv" #成员信息文件的路径,看文档
|
||||
ListenPort: 25005
|
||||
|
||||
DB:
|
||||
Type: "SQLite"
|
||||
Path: "./scheduler.db" # not need if use SQLite
|
||||
@@ -7,9 +12,9 @@ DB:
|
||||
User: "" # not need if use SQLite
|
||||
Password: "" # not need if use SQLite
|
||||
Name: "" # not need if use SQLite
|
||||
#[business]
|
||||
Session: "2024-2025" #学年
|
||||
Semester: 1 #学期,1 或 2
|
||||
StartTime: "2025-3-10" #开始值班的日期,日期必须是星期一
|
||||
Week: 15 #准备值班多少周
|
||||
File: "member.csv" #成员信息文件的路径,看文档
|
||||
|
||||
business:
|
||||
Session: "2024-2025" #学年
|
||||
Semester: 1 #学期,1 或 2
|
||||
StartTime: "2025-3-10" #开始值班的日期,日期必须是星期一
|
||||
Week: 15 #准备值班多少周
|
||||
|
||||
Reference in New Issue
Block a user