东东工厂添加判断,减少部分用户获取的数据不全导致脚本出错

This commit is contained in:
lxk0301
2021-01-04 12:35:46 +08:00
parent 999cd895cb
commit c693e2c98d
11 changed files with 32 additions and 28 deletions

View File

@ -343,7 +343,7 @@ function readShareCode() {
console.log(`${$.name} API请求失败请检查网路重试`)
} else {
if (data) {
console.log(`随机取${randomCount}个码放到您固定的互助码后面`)
console.log(`随机取${randomCount}个码放到您固定的互助码后面(不影响已有固定互助)`)
data = JSON.parse(data);
}
}