-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: 流程优化 & bug 修复 * 修正wihle占用cpu问题,增加任务抢购时间限制 * 增加获取eid,fp网页 * 增加时间可读性 * 定时器改动 * 更友好的时间格式 * 改进访问订单结算页面逻辑提高成功率 * 增加sleep * 新增获取eid和fp的html文件 * 降低cpu占用率 * 删除废弃文件 Co-authored-by: superq <[email protected]> Co-authored-by: noone <[email protected]>
- Loading branch information
1 parent
0dfdfd6
commit 2b25505
Showing
5 changed files
with
122 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<html> | ||
<head></head> | ||
<body> | ||
<div id="info">获取中……</div> | ||
<hr /> | ||
<div id="eid"></div> | ||
<div id="fp"></div> | ||
</body> | ||
</html> | ||
|
||
<script src="https://gias.jd.com/js/td.js"></script> | ||
|
||
<script> | ||
try { | ||
getJdEid(function (eid, fp, udfp) { | ||
document.getElementById('info').innerText = | ||
'请把下面的内容复制到配置文件 config.js 中的对应位置'; | ||
document.getElementById('eid').innerText = 'eid = ' + eid; | ||
document.getElementById('fp').innerText = 'fp = ' + fp; | ||
}); | ||
} catch (e) { | ||
document.getElementById('info').innerText = e; | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters