原因分析:plugins\miao-plugin\apps\stat\AbyssSummary.js 根据HutaoApi返回结果 而不是米游社直接返回的数据 来判断是否有数据,
HutaoAPI请求报400错,返回信息:
{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"00-6b4668ca3369375bef52a3ea0b764793-35d465631c18fa06-00","errors":{"spiralAbyssTakeDamageAvatarId":["The JSON value could not be converted to System.Int32. Path: $.spiralAbyss.takeDamage.avatarId | LineNumber: 0 | BytePositionInLine: 6200."]},"retcode":0}
大概就是缺失了takeDamage的数据,
承伤为0时,米游社返回数据take_damage_rank为空数组:
问题描述: 井深渊(yunzai自带的深渊查询):
井喵喵深渊:
暂未获得本期深渊挑战数据...
数据特点:没有深渊承受伤害,米游社内显示如下:![qq_pic_merged_1694935955429](https://github.com/yoimiya-kokomi/miao-plugin/assets/71622553/b7c704b6-3cfc-4664-be65-1396b7a17e85)
原因分析:plugins\miao-plugin\apps\stat\AbyssSummary.js 根据HutaoApi返回结果 而不是米游社直接返回的数据 来判断是否有数据, HutaoAPI请求报400错,返回信息: {"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"00-6b4668ca3369375bef52a3ea0b764793-35d465631c18fa06-00","errors":{"spiralAbyssTakeDamageAvatarId":["The JSON value could not be converted to System.Int32. Path: $.spiralAbyss.takeDamage.avatarId | LineNumber: 0 | BytePositionInLine: 6200."]},"retcode":0} 大概就是缺失了takeDamage的数据, 承伤为0时,米游社返回数据take_damage_rank为空数组:![image](https://github.com/yoimiya-kokomi/miao-plugin/assets/71622553/3c186767-003f-4608-b4d1-1c37d19b6007)