add other duty time display with mock

This commit is contained in:
Dawn1Ocean
2024-03-24 20:33:02 +08:00
parent c8dd8061b2
commit 2d148e7aa4
5 changed files with 31 additions and 7 deletions
+17 -2
View File
@@ -36,7 +36,7 @@
### 值班信息 `GET /duty/info`
#### 当前在值班
#### 当前在值班(正常值班时间)
data:
@@ -45,7 +45,22 @@ data:
"isInDuty": true,
"inDutyCnt": 3,
"currentDuty": "2",
"place": "东三-204"
"place": "东三-204",
"otherDutyTime": ""
}
```
#### 当前在值班(其他值班时间)
data:
```json
{
"isInDuty": true,
"inDutyCnt": 3,
"currentDuty": "others",
"place": "蓝田",
"otherDutyTime": "9:30-11:30"
}
```