Update jd_task_jinrong.js

This commit is contained in:
可达鸭 2025-05-13 16:30:58 +08:00
parent 8c631dc1da
commit f6fecab548

View File

@ -52,12 +52,12 @@ export class Main extends Template {
let user = p.data.user; let user = p.data.user;
let context = p.context; let context = p.context;
const aar = this.crypto.aar const aar = this.crypto.aar
let info = await this.getInfo(user, 'jsTk') let info = await this.getInfo(user, 'jsTk') || {}
let device = { let device = {
deviceInfo: { deviceInfo: {
"jsToken": "", "jsToken": "",
"fp": this.md5(new Date().getTime().toString()), "fp": this.md5(new Date().getTime().toString()),
"sdkToken":info.token|| `jdd016DZNHFZEX6ISWPRAZUKJDKGFIRQJ5MRXPZHLTK3ZIVKLBTD4SEZNDR6S${this.rand(10, 99)}JO2TLV${this.rand(10, 99)}HB5MV6JW52RVAZNXKEXXHGYDCX5MIJ7NSC4DY01234567`, "sdkToken": info.token || `jdd016DZNHFZEX6ISWPRAZUKJDKGFIRQJ5MRXPZHLTK3ZIVKLBTD4SEZNDR6S${this.rand(10, 99)}JO2TLV${this.rand(10, 99)}HB5MV6JW52RVAZNXKEXXHGYDCX5MIJ7NSC4DY01234567`,
"eid": info.eid || `FQ7Z2DTGYZSJM5FKY${this.rand(10, 99)}JLAURRHP2UZHK2ID7554EMNWWNNSK3JBCTLTR45IOP3Z5K3YJHOG${this.rand(10, 99)}SJAOB${this.rand(10, 99)}KVS3RH7G2U`, "eid": info.eid || `FQ7Z2DTGYZSJM5FKY${this.rand(10, 99)}JLAURRHP2UZHK2ID7554EMNWWNNSK3JBCTLTR45IOP3Z5K3YJHOG${this.rand(10, 99)}SJAOB${this.rand(10, 99)}KVS3RH7G2U`,
}, },
} }