mirror of
https://github.com/ZSCNetSupportDept/scheduler.git
synced 2025-10-28 20:45:05 +08:00
文档编写
This commit is contained in:
12
doc/api/general.md
Normal file
12
doc/api/general.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# 通用API
|
||||||
|
## 说明
|
||||||
|
这里是本项目的API调用文档
|
||||||
|
|
||||||
|
uri一般为`/api/...`
|
||||||
|
## 用户
|
||||||
|
### getAssignment
|
||||||
|
- 路径:`/api/getAssignment`
|
||||||
|
- 方法:`GET`
|
||||||
|
- 功能:获取值班表
|
||||||
|
- 返回:HTML格式,没有CSS
|
||||||
|
- 参数:`date`,需要一个格式为`yyyy-mm-dd`的日期,没有参数的话默认返回当前时间的值班表
|
||||||
Reference in New Issue
Block a user