Compare commits

..

No commits in common. "4a5d0566dec2a423f9740dbc3865e3bad2e28406" and "5a7e64d0a9611a370b5ab87084b859d41fda5ab7" have entirely different histories.

4 changed files with 5 additions and 16 deletions

View File

@ -93,7 +93,7 @@ export default {
h5st: {
xcx: '4.9',
latest: '5.1',
encrypt: '5cdde968dd3d9c5cdde978dd3decec5cddd8a9dd485cddec1dacdd48ee0947df0dd052502828ec2d5cddbca8d9dd3ddd7c1dec1dacdd5cdd9899dd3dddec1dacdd5cddc859dd3ddc',
encrypt: 'dd3dfcec5cddd8a9dd485cddec1dacdd4856a5f8281ab2923b2828ddec1dacdd5cddc859dd3ddc5cdde968dd3dec5cdde978',
extend: {},
storage: {}
}

View File

@ -16,9 +16,6 @@ export class Main extends Template {
turn: 2,
temp: 't6',
readme: "如果没有获取到数据,可能是前面几个号黑号无法获取,请自行设置temp为可运行账号pin",
prompt: {
shuffle: `true # 随机选择两个商品进行投票,默认按照算法排序投票`
}
}
}
@ -246,19 +243,11 @@ export class Main extends Template {
}
}
if (ary.length<2) {
if (this.profile.shuffle) {
var ranCode = this.random(code, 2 - ary.length)
}
else {
let column = (this.column(code, '', 'skuId'))
let keys = Object.keys(column)
keys.sort()
var ranCode = [column[keys[0]], column[keys[1]]]
}
let ranCode = this.random(code, 2 - ary.length)
ary = [...ary, ...ranCode]
}
for (let _ of this.range(0, 1)) {
let i = ary[_]
let i = code[_]
p.log("正在投票:", i.name)
let pop = await this.curl({
'form': `functionId=newunique_popup&appid=signed_wh5&body={"channelId":"3","skuId":"${i.skuId}","roundId":"${context.roundId}"}&client=ios&clientVersion=15.0.80`,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long