forked from liweijie/education
教学公告删除报错
This commit is contained in:
Binary file not shown.
@@ -14,7 +14,7 @@ export function getTeachNotice(Id) {
|
||||
return request({
|
||||
url: '/notice-announcement/get',
|
||||
method: 'get',
|
||||
params: { Id }
|
||||
params: { id: Id }
|
||||
})
|
||||
}
|
||||
|
||||
@@ -32,7 +32,6 @@ export function updateTeachNotice(data) {
|
||||
return request({
|
||||
url: '/notice-announcement/update',
|
||||
method: 'post',
|
||||
params: { Id: data.id },
|
||||
data: data
|
||||
})
|
||||
}
|
||||
@@ -42,7 +41,7 @@ export function delTeachNotice(Id) {
|
||||
return request({
|
||||
url: '/notice-announcement/delete',
|
||||
method: 'post',
|
||||
params: { Id }
|
||||
data: { id: Id }
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user