initialize the repository

This commit is contained in:
2024-10-28 10:47:56 +08:00
commit 5e5f66b9b0
5 changed files with 45 additions and 0 deletions

8
EN.md Normal file
View File

@@ -0,0 +1,8 @@
# scheduler for ZSC Network Support staff
Chinese:[Click Here](README.md)
## introduction
A scheduler for work assignment used in ZSC Network Support
## deploy
## build
## about
For any problem,contact[paakaauuxx@hotmail.com](mailto:paakaauuxx@hotmail.com)

8
README.md Normal file
View File

@@ -0,0 +1,8 @@
# scheduler for ZSC Network Support staff
English:[Click Here](EN.md)
## 介绍
这里是网维的排班系统,自动导出每一位成员的值班信息,自动进行排班和提供换班补班等各种业务
## 部署
## 构建
## 关于
任何问题,请联系[paakaauuxx@hotmail.com](mailto:paakaauuxx@hotmail.com)

25
doc/draft.md Normal file
View File

@@ -0,0 +1,25 @@
# 设计
本系统计划完成以下业务:
## 值班表生成
提供某一个特定的文件,系统自动生成每一天的值班名单,其中:
- 区分片区负责人,正式成员,实习成员
- 标记出现在表中的管理层
- 每隔一段时间轮换片区
- 女生不在男生片区值班
- 标记值班备注(日常,换蹭补)
## 换班处理
发起人将通过web API发起换班请求包含换班日期需要符合值班的日期意向换班日期返回一个换班id,其他人想和发起人换班的输入发起人的换班id,系统将自动处理换班
## 补班处理
发起人填写补班日期,和意向补班的空闲日期,系统将自动处理补班的日期
## 蹭班处理
发起人填写蹭班日期,系统将自动处理
## 管理
管理API使得绕过系统正常的流程直接控制排班的结果
- 删除选定日期的选定人员值班
- 增加选定日期的选定人员值班
## 鉴权
可以让他们在gitea上注册也可以使用basic auth
## 技术
配置viper

3
go.mod Normal file
View File

@@ -0,0 +1,3 @@
module zsxyww.com/scheduler
go 1.23.2

1
main.go Normal file
View File

@@ -0,0 +1 @@
package main