refactor api for dutyinfo
This commit is contained in:
+4
-4
@@ -14,18 +14,19 @@ export default {
|
||||
'GET /duty/info': {
|
||||
success: true,
|
||||
data: {
|
||||
token: 'token_test',
|
||||
isInDuty: true,
|
||||
inDutyCnt: 3,
|
||||
currentDuty: 'others',
|
||||
otherDutyTime: '9:30-11:30',
|
||||
otherDutyStart: '2024-03-07T09:30:48.523303',
|
||||
otherDutyEnd: '2024-03-07T13:30:48.523303',
|
||||
place: '蓝田',
|
||||
offDutyReason: '',
|
||||
dutyRecoverTime: '',
|
||||
},
|
||||
},
|
||||
'GET /user/info': {
|
||||
success: true,
|
||||
data: {
|
||||
token: 'token_test',
|
||||
name: '马保国',
|
||||
phone: 13333333333,
|
||||
},
|
||||
@@ -116,7 +117,6 @@ export default {
|
||||
'GET /member/duty/info': {
|
||||
success: true,
|
||||
data: {
|
||||
token: 'token_test',
|
||||
isInDuty: true,
|
||||
inDutyCnt: 6,
|
||||
currentDuty: '3',
|
||||
|
||||
Reference in New Issue
Block a user