refactor: ♻️ 不在支持两种请求类型

不在支持两种请求类型
This commit is contained in:
Theo committed 2024-11-24 01:32:14 +08:00
1 parent 1ea9e43994
commit 0f4f996b04
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -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",
});
},
/**