Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
google登录 测试服
daoyian2fd9a8c485af
diff --git a/.env.development b/.env.developmentindex 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 filediff --git a/src/api/apiReq.ts b/src/api/apiReq.tsindex 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);};