mirror of
https://github.com/chinnkarahoi/jd_scripts.git
synced 2024-06-05 19:32:47 +08:00
update
This commit is contained in:
parent
3cd0399fc4
commit
713c80b3d1
@ -236,7 +236,7 @@ function getExchangeInfo() {
|
||||
if (data && data['retCode'] === "200") {
|
||||
const {userRemainScore, exchageRate} = data.result
|
||||
console.log(`当前用户兑换比率${exchageRate}`)
|
||||
if (exchageRate === 1.4 && userRemainScore >= scoreToBeans) {
|
||||
if (userRemainScore >= scoreToBeans) {
|
||||
console.log(`已达到最大比率,去兑换`)
|
||||
await exchange()
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user