登录和注册页新增谷歌登录功能

This commit is contained in:
qikongjian 2025-09-19 21:31:58 +08:00
parent 09b8cfabe1
commit 0ea5fd6cd6

View File

@ -9,8 +9,8 @@ import type {
} from '@/app/types/google-oauth';
// API配置
const JAVA_BASE_URL = 'http://192.168.120.36:8080';
//const JAVA_BASE_URL = process.env.NEXT_PUBLIC_JAVA_URL || 'https://77.app.java.auth.qikongjian.com';
//const JAVA_BASE_URL = 'http://192.168.120.36:8080';
const JAVA_BASE_URL = process.env.NEXT_PUBLIC_JAVA_URL || 'https://77.app.java.auth.qikongjian.com';
// Token存储键
const TOKEN_KEY = 'token';
const USER_KEY = 'currentUser';