BLTH icon indicating copy to clipboard operation
BLTH copied to clipboard

获取粉丝列表失败

Open K41t0uK1dd0 opened this issue 5 years ago • 7 comments

描述bug

近期粉丝牌打卡时,会出现“获取粉丝列表失败, pageSize最多十个”的报错。

重现bug

在自动更新最新版本之后出现了这个bug。

预期行为

理应获取相应的粉丝牌进行自动打卡。

截图

image

运行日志

image

操作系统

Win10

浏览器

Chrome Version 94.0.4606.61 (Official Build) (64-bit)

用户脚本管理器

Tampermonkey v4.13

挂机助手版本

5.7.8.6

网络情况

好

其他浏览器插件/脚本

N/A

其他

No response

K41t0uK1dd0 avatar Oct 03 '21 18:10 K41t0uK1dd0

该bug已被记录,日后会修复。

andywang425 avatar Oct 04 '21 01:10 andywang425

这是由于 getMedalList)函数中调用BAPI PageSize过大导致的。 通过修改 await BAPI.i.medal(page, 25).then((response) => { 为 await BAPI.i.medal(page, 10).then((response) => { 即可修复问题。

IVASPE avatar Oct 04 '21 02:10 IVASPE

这是由于 getMedalList)函数中调用BAPI页数过多导致的。 通过修改 await BAPI.i.medal(page, 25).then((response) => { 为 await BAPI.i.medal(page, 10).then((response) => { 即可修复问题。

嗯,是个不错的临时解决方案。

andywang425 avatar Oct 04 '21 03:10 andywang425

通过修改 await BAPI.i.medal(page, 25).then((response) => { 为 await BAPI.i.medal(page, 10).then((response) => { 即可修复问题。

我看了一下当前版本,确实是25,但是仍然出现了该问题。 image

K41t0uK1dd0 avatar Oct 04 '21 11:10 K41t0uK1dd0

通过修改 await BAPI.i.medal(page, 25).then((response) => { 为 await BAPI.i.medal(page, 10).then((response) => { 发酵修复问题。

我看当前版本,确实是 25,但仍然出现了该问题。 图片

是要将25改成10

feeb12601 avatar Oct 04 '21 11:10 feeb12601

是要将25改成10

确实暂时解决了问题,打卡仍旧打完了20页。

K41t0uK1dd0 avatar Oct 04 '21 15:10 K41t0uK1dd0

是要将25改成10

确实暂时解决了问题,打卡仍旧打完了20页。

这个PageSize的意思应该是每一页有多少个项目,和最多页数应该没关系。我看到其他地方好像有用新的API,就交给作者决定吧。。

IVASPE avatar Oct 04 '21 22:10 IVASPE