🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
GNU Affero General Public License v3.0
39.53k
stars
5.14k
forks
source link
天翼云盘在32位alist上无法挂载 #6449
Closed
3titep closed 1 month ago
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
orOperational
). 我确定是AList
的问题,而不是其他原因(例如网络,依赖
或操作
)。[X] I'm sure this issue is not fixed in the latest version. 我确定这个问题在最新版本中没有被修复。
AList Version / AList 版本
v3.34.0
Driver used / 使用的存储驱动
189pc
Describe the bug / 问题描述
在32位alist(linux-musleabihf-armv7l)上,189pc无法挂载,提示错误: json: cannot unmarshal number 300000605123456 into Go struct field FamilyInfoResp.familyInfoResp.familyId of type int 在64位(windows-amd64)上正常挂载 猜测可能是以下代码 https://github.com/alist-org/alist/blob/4cbbda8832449d1ccd9b81b5dbec574912934408/drivers/189pc/types.go#L146
FamilyID int
json:"familyId"`` 里的int溢出导致,改成int64是否能解决?Reproduction / 复现链接
无
Config / 配置
无
Logs / 日志
[GIN] 2024/05/12 - 14:43:13 | 200 | 1.803988ms | 192.168.11.11 | GET "/api/admin/storage/get?id=2" [GIN] 2024/05/12 - 14:43:13 | 200 | 656.995µs | 192.168.11.11 | GET "/api/admin/driver/info?driver=189CloudPC" [[31mERRO[[0m[2024-05-12 14:43:16] failed init storage: json: cannot unmarshal number 300000605123456 into Go struct field FamilyInfoResp.familyInfoResp.familyId of type int [GIN] 2024/05/12 - 14:43:16 | 200 | 826.363255ms | 192.168.11.11 | POST "/api/admin/storage/update"