修改第三方添加fp

This commit is contained in:
lijun 2025-10-02 21:55:53 +08:00
parent d9714b10f3
commit cdd3bc1bae
3 changed files with 3 additions and 4 deletions

View File

@ -73,7 +73,6 @@ export const RunSQLService = (Data) => {
return request.post('/dbm/run_sql', params, {
headers: {
'token': Data.token, //token
}
})
}

View File

@ -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"]
}

View File

@ -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;