Update dwnc.js

This commit is contained in:
smallfawn
2023-05-06 12:48:26 +08:00
committed by GitHub
parent d3593c0e5d
commit 1fa502724d

17
dwnc.js
View File

@@ -105,6 +105,7 @@ class UserInfo {
this.SK = str.split('&')[1]; this.SK = str.split('&')[1];
this.shumeiId = str.split('&')[2]; this.shumeiId = str.split('&')[2];
this.uuid = str.split('&')[3]; this.uuid = str.split('&')[3];
this.deviceId = str.split('&')[3];
this.shareCode = null this.shareCode = null
this.hours = local_hours(); this.hours = local_hours();
this.ckStatus = null this.ckStatus = null
@@ -118,10 +119,10 @@ class UserInfo {
'ua': ua, 'ua': ua,
'deviceTrait': deviceTrait, 'deviceTrait': deviceTrait,
'channel': channel, 'channel': channel,
'SK': SK, 'SK': this.SK,
'shumeiId': shumeiId, 'shumeiId': this.shumeiId,
'uuid': uuid, 'uuid': this.uuid,
'deviceId': deviceId, 'deviceId': this.deviceId,
'User-Agent': UserAgent 'User-Agent': UserAgent
}; };
this.headersGet = { this.headersGet = {
@@ -130,10 +131,10 @@ class UserInfo {
'ua': ua, 'ua': ua,
'deviceTrait': deviceTrait, 'deviceTrait': deviceTrait,
'channel': channel, 'channel': channel,
'SK': SK, 'SK': this.SK,
'shumeiId': shumeiId, 'shumeiId': this.shumeiId,
'uuid': uuid, 'uuid': this.uuid,
'deviceId': deviceId, 'deviceId': this.deviceId,
'User-Agent': UserAgent 'User-Agent': UserAgent
} }