refactor api for dutyinfo

This commit is contained in:
Dawn1Ocean
2024-04-04 01:39:58 +08:00
parent d34564980f
commit 5ce1db7693
7 changed files with 74 additions and 54 deletions
+4 -4
View File
@@ -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',