sRGB牛人大佬:
https://virmach.fat32.top/
Estimate Value
You can use the code editor below to modify the algorithm used to estimate the value for all past and future deals.
估算值
您可以使用下面的代码编辑器来修改用于估算所有过去和将来交易的价值的算法。
return (
cpu * 1.2 +
disk * 0.14 +
ram * 0.014 +
bandwidth * 0.005 +
ip * 6 +
(windows ? 2 : 0)
) * (location === Location.NY ? 0.7 : 1);
/*
Usable variables / 可用变量:
– price, cpu, ram, disk, bandwidth, ip, location, windows
Location Enum / 地点 Enum:
– Location.GA (ATLANTA, GA)
– Location.NY (BUFFALO, NY)
– Location.IL (CHICAGO, IL)
– Location.TX (DALLAS, TX)
– Location.LA (LOS ANGELES, CA)
– Location.NJ (PISCATAWAY, NJ)
– Location.SJ (SAN JOSE, CA)
– Location.WA (SEATTLE, WA)
*/
// Example: Los Angeles VPS only
// 例子:只要洛杉矶的小鸡
if (location === Location.LA) {
return Infinity;
} else {
return price;
}
// Example: VPS $12 or below only
// 例子:只要年付 $12 以内的小鸡
if (price <= 12) {
return Infinity;
} else {
return price;
}
wifitry牛人大佬:
不是已经结束了吗