掘友等级
获得徽章 7
月饼与我无缘
function wait(time) {
return new Promise(ok => {
setTimeout(() => {
ok()
}, time || 2000);
})
}
async function getData() {
const url = `
api.juejin.cn`;
const stream = await fetch(url, {
method: "POST",
credentials: "include",
body: JSON.stringify({})
});
const res = await stream.json();
await wait(2000 + Math.random() * 2000);
return res;
}
const map = {};
while (true) {
const res = await getData();
map[res.data.lottery_name] = map[res.data.lottery_name] ? map[res.data.lottery_name] + 1 : 1;
console.log(JSON.stringify(map));
} 有基金群吗,拉我一个
## 破产了
async function getData() {
const url =
"
api.juejin.cn";
const stream = await fetch(url, {
method: "POST",
credentials: "include",
body: JSON.stringify({})
});
const res = await stream.json();
return res;
}
while (true) {
const res = await getData();
console.log(res.data.lottery_name);
} 昨天还在拼命加仓,天台的风好大
如果通过抛硬币的结果去选择做多还是做空,是不是就有5成胜率了
下一页