alist icon indicating copy to clipboard operation
alist copied to clipboard

115开放平台部分文件夹不显示

Open qvstp001 opened this issue 1 year ago • 5 comments

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 AList and not something else(such as Network ,Dependencies or Operational). 我确定是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

qvstp001 avatar Mar 21 '25 14:03 qvstp001

在代码库中没有直接找到与 GetFilesResp_File.Resp.data.play_long 相关的代码。这可能意味着需要在代码中添加处理逻辑,以确保这些数值在解析时被正确处理为浮点数或其他适当的类型。

您可以尝试以下方法来解决此问题:

  1. 代码修改:在处理 JSON 数据时,将 play_long 字段的类型从 int64 改为 float64,以便能够解析包含小数的数值。

  2. 数据预处理:在解析 JSON 之前,检查并转换这些数值,以确保它们符合预期的类型。

如果您需要进一步的帮助或有其他问题,请随时告诉我。

🪧 Tips For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.

petercat-assistant[bot] avatar Mar 21 '25 14:03 petercat-assistant[bot]

昨天刚修 https://github.com/pongfcnkl/alist11/actions/runs/13970772998

pongfcnkl avatar Mar 21 '25 14:03 pongfcnkl

修复的sdk是0.1.6和0.1.7吗?最新版的sdk是0.1.3和0.1.4

qvstp001 avatar Mar 28 '25 05:03 qvstp001

修复的sdk是0.1.6和0.1.7吗?最新版的sdk是0.1.3和0.1.4

这个不用管,直接下载替换就行

pongfcnkl avatar Mar 28 '25 10:03 pongfcnkl

我挂载成功后,打开文件夹提示:failed get objs: failed to list objs: json: cannot unmarshal object into Go struct field GetFilesResp_File.Resp.data.fl of type string

a447948814 avatar Mar 31 '25 03:03 a447948814