fix
This commit is contained in:
parent
af19c2959c
commit
fc299a9628
|
@ -161,8 +161,9 @@ export default class MysInfo {
|
|||
let user = e.user?.getMysUser()
|
||||
let mysApi = new MysApi(mysInfo.uid, mysInfo.ckInfo.ck, option, e.isSr, user.device)
|
||||
|
||||
let device_fp = ''
|
||||
if (!data?.headers?.['x-rpc-device_fp']) {
|
||||
let device_fp = (await mysApi.getData('getFp')).data?.device_fp
|
||||
device_fp = (await mysApi.getData('getFp')).data?.device_fp
|
||||
if (data?.headers) {
|
||||
data.headers['x-rpc-device_fp'] = device_fp
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue