refactor(system): 修改配置缓存刷新接口

- 将缓存刷新接口的 URL 从 CONFIG_BASE_URL 改为 CONFIG_BASE_URL + "/refresh"
- 将请求方法从 PATCH 改为 PUT
This commit is contained in:
Ky10
2024-11-16 20:15:00 +08:00
parent d1fbe44a19
commit b6b2dc41cf

View File

@@ -61,8 +61,8 @@ const ConfigAPI = {
refreshCache() {
return request({
url: `${CONFIG_BASE_URL}`,
method: "patch",
url: `${CONFIG_BASE_URL}/refresh`,
method: "PUT",
});
},
};