改善配置模块代码~

This commit is contained in:
2025-05-20 09:01:07 +08:00
parent a66f1c69b1
commit 67573e6ac2
9 changed files with 61 additions and 102 deletions

View File

@@ -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 #准备值班多少周