first commit

This commit is contained in:
jerryjzhang
2023-06-12 18:44:01 +08:00
commit dc4fc69b57
879 changed files with 573090 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import { request } from 'umi';
export type LoginParamsType = {
username: string;
password: string;
mobile: string;
captcha: string;
type: string;
};
export async function queryToken(code: string) {
return request(`${process.env.API_BASE_URL}user/ioaLoginCallback`, {
params: { code },
});
}