refactor: Clean up and organize code structure in initialization and request modules for improved maintainability

This commit is contained in:
begoniezhao
2025-12-01 14:48:33 +08:00
parent eb8bfddfd1
commit 15603dbac7
4 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -186,8 +186,8 @@ export function postChat(url: string, data = {}) {
});
}
export function post(url: string, data = {}) {
return instance.post(url, data);
export function post(url: string, data = {}, config?: any) {
return instance.post(url, data, config);
}
export function put(url: string, data = {}) {