refactor: ♻️ 不在支持两种请求类型
不在支持两种请求类型
This commit is contained in:
@@ -74,7 +74,7 @@ const NoticeAPI = {
|
||||
publish(id: number) {
|
||||
return request({
|
||||
url: `${NOTICE_BASE_URL}/${id}/publish`,
|
||||
method: "patch",
|
||||
method: "put",
|
||||
});
|
||||
},
|
||||
|
||||
@@ -87,7 +87,7 @@ const NoticeAPI = {
|
||||
revoke(id: number) {
|
||||
return request({
|
||||
url: `${NOTICE_BASE_URL}/${id}/revoke`,
|
||||
method: "patch",
|
||||
method: "put",
|
||||
});
|
||||
},
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user