修改第三方添加fp
This commit is contained in:
parent
d9714b10f3
commit
cdd3bc1bae
|
|
@ -73,7 +73,6 @@ export const RunSQLService = (Data) => {
|
|||
return request.post('/dbm/run_sql', params, {
|
||||
headers: {
|
||||
'token': Data.token, //token
|
||||
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue