Integrate Chat and Copilot into chat-sdk, and add SQL parse display (#166)

This commit is contained in:
williamhliu
2023-10-02 18:05:12 +08:00
committed by GitHub
parent 741ed4191b
commit 71cb20eb4f
68 changed files with 1353 additions and 882 deletions

View File

@@ -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 },
});
}