115开放平台部分文件夹不显示
Please make sure of the following things
-
[x] I have read the documentation. 我已经阅读了文档。
-
[x] I'm sure there are no duplicate issues or discussions. 我确定没有重复的issue或讨论。
-
[x] I'm sure it's due to
AListand not something else(such as Network ,DependenciesorOperational). 我确定是AList的问题,而不是其他原因(例如网络,依赖或操作)。 -
[x] I'm sure this issue is not fixed in the latest version. 我确定这个问题在最新版本中没有被修复。
AList Version / AList 版本
AList Beta Version
Driver used / 使用的存储驱动
115开放平台
Describe the bug / 问题描述
115开放平台挂载以后,部分文件夹访问失败,3个文件夹分别报错 failed get objs: failed to list objs: json: cannot unmarshal number 7105.999 into Go struct field GetFilesResp_File.Resp.data.play_long of type int64
failed get objs: failed to list objs: json: cannot unmarshal number 9924.487 into Go struct field GetFilesResp_File.Resp.data.play_long of type int64
failed get objs: failed to list objs: json: cannot unmarshal number 6905.115 into Go struct field GetFilesResp_File.Resp.data.play_long of type int64
Reproduction / 复现链接
无
Config / 配置
无
Logs / 日志
No response
在代码库中没有直接找到与 GetFilesResp_File.Resp.data.play_long 相关的代码。这可能意味着需要在代码中添加处理逻辑,以确保这些数值在解析时被正确处理为浮点数或其他适当的类型。
您可以尝试以下方法来解决此问题:
-
代码修改:在处理 JSON 数据时,将
play_long字段的类型从int64改为float64,以便能够解析包含小数的数值。 -
数据预处理:在解析 JSON 之前,检查并转换这些数值,以确保它们符合预期的类型。
如果您需要进一步的帮助或有其他问题,请随时告诉我。
🪧 Tips
For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.
昨天刚修 https://github.com/pongfcnkl/alist11/actions/runs/13970772998
修复的sdk是0.1.6和0.1.7吗?最新版的sdk是0.1.3和0.1.4
修复的sdk是0.1.6和0.1.7吗?最新版的sdk是0.1.3和0.1.4
这个不用管,直接下载替换就行
我挂载成功后,打开文件夹提示:failed get objs: failed to list objs: json: cannot unmarshal object into Go struct field GetFilesResp_File.Resp.data.fl of type string