yanghao 1 hete
szülő
commit
9a51b80a78
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/api/user.ts

+ 1 - 1
src/api/user.ts

@@ -3,7 +3,7 @@ import request from "@/config/axios";
 // 钉钉扫码登录
 export function socialLogin(type: string, code: string, state: string) {
   return request.post({
-    url: "/",
+    url: "/system/auth/social-login",
     data: {
       type,
       code,