Merge branch 'main' of ssh://18.167.251.121:10002/aidlab/lanecarford_front

This commit is contained in:
X1627315083
2025-11-17 14:37:16 +08:00
17 changed files with 183 additions and 120 deletions

View File

@@ -50,11 +50,11 @@ export const LogOut = (): Promise<ApiResponse> => {
// Google登录/注册参数类型
interface GoogleAuthParamsType {
credential?: string // Google ID Token (用于One Tap登录)
accessToken?: string // Google ID Token (用于One Tap登录)
}
export const googleAuth = (data: GoogleAuthParamsType): Promise<LoginResponse> => {
return request({
url: '/api/auth/parseGoogleCredential',
url: '/api/auth/parseGoogleAccessToken',
method: 'get',
params: data
})