From fa8854b5c0fb979674eeb8e88a435a73df7f21c8 Mon Sep 17 00:00:00 2001 From: wxc <191104855@qq.com> Date: Fri, 6 Dec 2024 11:12:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=89=B9=E6=AE=8A=E5=BB=B6?= =?UTF-8?q?=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mail.ts | 4 ++++ src/views/work/Dissatisfied.vue | 4 +++- src/views/work/Query.vue | 19 ++++++++++++++++++- 3 files changed, 25 insertions(+), 2 deletions(-) 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 @@