This file contains hidden or 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
/************************* | |
京东多合一签到脚本 | |
更新时间: 2020.12.03 17:00 v1.87 | |
有效接口: 40+ | |
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js | |
电报频道: @NobyDa | |
问题反馈: @NobyDa_bot | |
如果转载: 请注明出处 |
This file contains hidden or 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
const USER_AGENTS = [] | |
/** | |
* 生成随机数字 | |
* @param {number} min 最小值(包含) | |
* @param {number} max 最大值(不包含) | |
*/ | |
function randomNumber(min = 0, max = 100) { | |
return Math.min(Math.floor(min + Math.random() * (max - min)), max); | |
} |