教学公告删除报错

This commit is contained in:
2026-09-18 18:20:36 +08:00
parent f36b1f4701
commit 04551fce73
2 changed files with 2 additions and 3 deletions
Binary file not shown.
+2 -3
View File
@@ -14,7 +14,7 @@ export function getTeachNotice(Id) {
return request({ return request({
url: '/notice-announcement/get', url: '/notice-announcement/get',
method: 'get', method: 'get',
params: { Id } params: { id: Id }
}) })
} }
@@ -32,7 +32,6 @@ export function updateTeachNotice(data) {
return request({ return request({
url: '/notice-announcement/update', url: '/notice-announcement/update',
method: 'post', method: 'post',
params: { Id: data.id },
data: data data: data
}) })
} }
@@ -42,7 +41,7 @@ export function delTeachNotice(Id) {
return request({ return request({
url: '/notice-announcement/delete', url: '/notice-announcement/delete',
method: 'post', method: 'post',
params: { Id } data: { id: Id }
}) })
} }