add askleave api&service

This commit is contained in:
Dawn_Ocean
2024-04-11 09:13:27 +08:00
parent d1d01f0ad1
commit 952a6caa24
2 changed files with 56 additions and 0 deletions
+14
View File
@@ -470,4 +470,18 @@ data:
"offDutyReason": "学园维修",
"dutyRecoverTime": "下周一"
}
```
### 成员请假 `POST /member/askleave`
Request
```json
{
"token": "token_test",
"week": 1,
"shift": "2",
"reason": "家庭原因",
"substitute": "晓洋" // 未找人代班则为空
}
```