优化代码1
This commit is contained in:
@@ -138,11 +138,23 @@ let args_xh = {
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
//下一个要重新去拉列表
|
||||
trialActivityIdList = []
|
||||
trialActivityTitleList = []
|
||||
|
||||
args_xh.listCount = 0
|
||||
postToDingTalk(message)
|
||||
message = ""
|
||||
totalPages == 999999
|
||||
|
||||
username = $.UserName
|
||||
//走另外的途径另外处理
|
||||
if ($.UserName == "jd_66ea783827d30" || $.UserName == "jd_45d917547c763") {
|
||||
getManName = roleMap[username]
|
||||
justGetGain()
|
||||
message = message + "<font color=\'#778899\' size=2>【羊毛姐妹】<font color=\'#FFA500\' size=3>" + username + " </font> </font> \n\n "
|
||||
await try_MyTrials(1, 2) //申请成功的商品
|
||||
await showMsg()
|
||||
continue
|
||||
}
|
||||
|
||||
@@ -235,21 +247,6 @@ let args_xh = {
|
||||
$.done()
|
||||
})
|
||||
|
||||
|
||||
function justGetGain() {
|
||||
message = message + "<font color=\'#778899\' size=2>【羊毛姐妹】<font color=\'#FFA500\' size=3>" + username + " </font> </font> \n\n "
|
||||
try_MyTrials(1, 2) //申请成功的商品
|
||||
showMsg()
|
||||
//下一个要重新去拉列表
|
||||
trialActivityIdList = []
|
||||
trialActivityTitleList = []
|
||||
|
||||
args_xh.listCount = 0
|
||||
postToDingTalk(message)
|
||||
message = ""
|
||||
totalPages == 999999
|
||||
}
|
||||
|
||||
function getList() {
|
||||
for (i = 0; i < Math.floor(Math.random() * (5001) + 500); i++) {
|
||||
index1 = Math.floor(Math.random() * (args_xh.channel.length) + 0)
|
||||
|
||||
Reference in New Issue
Block a user