refactor: Clean up and organize code structure in initialization and request modules for improved maintainability
This commit is contained in:
@@ -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 = {}) {
|
||||
|
||||
Reference in New Issue
Block a user