feat: dutyinfo service

This commit is contained in:
Dawn1Ocean
2024-04-19 19:45:58 +08:00
parent 9bf2ef67be
commit 311d67a1b1
5 changed files with 102 additions and 82 deletions
+7 -6
View File
@@ -35,13 +35,14 @@ module.exports = {
'GET /admin/duty/current': {
success: true,
data: {
isNormalDuty: true,
currentDuty: '2',
isNormalDuty: false,
currentDuty: 'off',
inDutyCnt: 3,
otherDutyTime: '',
offDutyReason: '',
place: '204',
dutyRecoverTime: '',
otherDutyStart: '2024-03-07T17:53:48.523303',
otherDutyEnd: '2024-03-17T17:53:48.523303',
offDutyReason: '期中考试周',
place: '',
dutyRecoverTime: '下周一',
},
},
'POST /admin/duty/update': {