mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-28 20:04:27 +08:00
[improvement](semantic-fe) Added parameter compatibility for network requests in different modes
This commit is contained in:
@@ -9,7 +9,7 @@ export type LoginParamsType = {
|
||||
};
|
||||
|
||||
export async function queryToken(code: string) {
|
||||
return request(`${process.env.API_BASE_URL}user/ioaLoginCallback`, {
|
||||
return request(`/davinciapi/login/tmeloginCallback`, {
|
||||
params: { code },
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user