change /duty/info api

This commit is contained in:
Dawn1Ocean
2024-04-07 12:29:07 +08:00
parent ff926676bd
commit 7a198cfe03
3 changed files with 25 additions and 4 deletions
+17
View File
@@ -87,6 +87,23 @@ data:
}
```
#### 当前值班暂停
data:
```json
{
"isInDuty": false,
"inDutyCnt": 0,
"currentDuty": "off", // 'off' 代表当前值班暂停
"place": "",
"otherDutyStart": "",
"otherDutyEnd": "",
"offDutyReason": "考试周",
"dutyRecoverTime": "下周一"
}
```
## 账号登陆
### 微信小程序登陆 `POST /login` OK