From cdd3bc1bae50dac0dd357137044c879f64a60a96 Mon Sep 17 00:00:00 2001 From: lijun Date: Thu, 2 Oct 2025 21:55:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AC=AC=E4=B8=89=E6=96=B9?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0fp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/dbm.ts | 3 +-- src/api/user.ts | 2 +- src/views/pages/login.vue | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/api/dbm.ts b/src/api/dbm.ts index 2dd60dc..89567d3 100644 --- a/src/api/dbm.ts +++ b/src/api/dbm.ts @@ -70,10 +70,9 @@ export const RunSQLService = (Data) => { } params.append(key, Data[key]) } - return request.post('/dbm/run_sql', params,{ + return request.post('/dbm/run_sql', params, { headers: { 'token': Data.token, //token - } }) } diff --git a/src/api/user.ts b/src/api/user.ts index 8886c46..f0fe9e9 100644 --- a/src/api/user.ts +++ b/src/api/user.ts @@ -193,7 +193,7 @@ export const getThirdPartyUUID = (data) => { //获取第三方登录的url export const getThirdPartyLoginUrl = (Data) => { - let url ='/tool/get_auth_url' + "?uuid=" + Data.uuid + "&type=" + Data["type"] + "&platform=" + Data["platform"] + let url ='/tool/get_auth_url' + "?uuid=" + Data.uuid + "&type=" + Data["type"] + "&platform=" + Data["platform"] + "&fingerprint=" + Data["fingerprint"] if (Data["type"] === "add" ) { url += "&token=" + Data["token"] } diff --git a/src/views/pages/login.vue b/src/views/pages/login.vue index 976e506..a6d9b26 100644 --- a/src/views/pages/login.vue +++ b/src/views/pages/login.vue @@ -269,7 +269,7 @@ const thirdLogin = async (type) => { // break; // } // } - result = await getThirdPartyLoginUrl({uuid: uuid,"type": "login", "platform": type }); + result = await getThirdPartyLoginUrl({uuid: uuid,"type": "login", "platform": type,"fingerprint": param.fingerprint}); if (result["code"] !== 0) { ElMessage.error("获取登录地址失败!请稍后再试"); return;