Skip to content

Let's use AI to Earn!

google登录 测试服

daoyian2fd9a8c485af
diff --git a/.env.development b/.env.development
index 57a6dcc0..bad81f21 100644
--- a/.env.development
+++ b/.env.development
@@ -1,5 +1,5 @@
NEXT_PUBLIC_EVN=dev
-NEXT_PUBLIC_API_URL=http://localhost:7000/api/
+# NEXT_PUBLIC_API_URL=http://localhost:7000/api/
-#NEXT_PUBLIC_API_URL=https://platapi.aitoearn.cn/api/
\ No newline at end of file
+NEXT_PUBLIC_API_URL=https://apitest.aiearn.ai/api/
\ No newline at end of file
diff --git a/src/api/apiReq.ts b/src/api/apiReq.ts
index ed0060d2..0cf3dfe2 100644
--- a/src/api/apiReq.ts
+++ b/src/api/apiReq.ts
@@ -71,5 +71,5 @@ export interface GoogleLoginParams {
// Google 登录
export const googleLoginApi = (data: GoogleLoginParams) => {
- return sxRequest.post<LoginResponse>("plat/google/auth/login", data);
+ return sxRequest.post<LoginResponse>("login/google", data);
};