diff --git a/src/api/mail.ts b/src/api/mail.ts index 5ff65c7..3b8cfc8 100644 --- a/src/api/mail.ts +++ b/src/api/mail.ts @@ -62,4 +62,8 @@ export function mailQuery(query) { export function getTimeoutInfo(mailId) { return request.get({ url: '/mail/timeout/info', query: {mailId}}) +} + +export function updateExtensionDays(mailId, day) { + return request.post({ url: `/mail/${mailId}/extensionDays/${day}`}) } \ No newline at end of file diff --git a/src/views/work/Dissatisfied.vue b/src/views/work/Dissatisfied.vue index b18c618..4f48fda 100644 --- a/src/views/work/Dissatisfied.vue +++ b/src/views/work/Dissatisfied.vue @@ -509,9 +509,11 @@