mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-06-12 21:03:13 +08:00
fix: 无uid时不判断粉丝数
This commit is contained in:
parent
455c81ee55
commit
ce3274c258
@ -13,7 +13,7 @@
|
||||
* - `MULTIPLE_ACCOUNT_PARM` 多账号参数(JSON格式)
|
||||
* ## 调试相关
|
||||
* - `LOTTERY_LOG_LEVEL` 输出日志等级 Error<Warn<Info<Debug 1<2<3<4
|
||||
* - `NOT_GO_LOTTERY` 关闭抽奖行为 为空字符即关
|
||||
* - `NOT_GO_LOTTERY` 关闭抽奖行为
|
||||
* ## 多账号
|
||||
* 1. 将 ENABLE_MULTIPLE_ACCOUNT 的值改为true
|
||||
* 2. 将账号信息依次填写于 multiple_account_parm 中, 参考例子类推
|
||||
@ -28,7 +28,7 @@ const account_parm = {
|
||||
ENABLE_MULTIPLE_ACCOUNT: false,
|
||||
MULTIPLE_ACCOUNT_PARM: "",
|
||||
LOTTERY_LOG_LEVEL: 3,
|
||||
NOT_GO_LOTTERY: ''
|
||||
NOT_GO_LOTTERY: ""
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -822,4 +822,5 @@ const BiliAPI = {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
module.exports = BiliAPI;
|
||||
@ -153,4 +153,5 @@ const GihubAPI = {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
module.exports = GihubAPI;
|
||||
@ -95,7 +95,7 @@ class Monitor extends Public {
|
||||
MyStorage.updateDyid(Lottery.dyid)
|
||||
continue
|
||||
}
|
||||
} else {
|
||||
} else if (Lottery.uid[0]) {
|
||||
const followerNum = await BiliAPI.getUserInfo(Lottery.uid[0]);
|
||||
if (followerNum < 0) {
|
||||
return 61
|
||||
@ -350,4 +350,5 @@ class Monitor extends Public {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
module.exports = Monitor;
|
||||
@ -46,4 +46,5 @@ const MyStorage = {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
module.exports = MyStorage;
|
||||
Loading…
Reference in New Issue
Block a user