mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-01 20:27:45 +00:00
v4.6-3 (#471)
This commit is contained in:
@@ -12,7 +12,8 @@ export const sendAuthCode = (data: {
|
||||
googleToken: string;
|
||||
}) => POST(`/plusApi/support/user/inform/sendAuthCode`, data);
|
||||
|
||||
export const getTokenLogin = () => GET<UserType>('/user/account/tokenLogin');
|
||||
export const getTokenLogin = () =>
|
||||
GET<UserType>('/user/account/tokenLogin', {}, { maxQuantity: 1 });
|
||||
export const oauthLogin = (params: OauthLoginProps) =>
|
||||
POST<ResLogin>('/plusApi/support/user/account/login/oauth', params);
|
||||
|
||||
|
Reference in New Issue
Block a user