add other duty time display with mock
This commit is contained in:
+17
-2
@@ -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"
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user