mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-01-06 01:08:16 +08:00
Integrate Chat and Copilot into chat-sdk, and add SQL parse display (#166)
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import { request } from 'umi';
|
||||
|
||||
export type LoginParamsType = {
|
||||
username: string;
|
||||
password: string;
|
||||
@@ -7,9 +5,3 @@ export type LoginParamsType = {
|
||||
captcha: string;
|
||||
type: string;
|
||||
};
|
||||
|
||||
export async function queryToken(code: string) {
|
||||
return request(`/davinciapi/login/tmeloginCallback`, {
|
||||
params: { code },
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user