diff --git a/README.md b/README.md index 9480c34..7267dd7 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,7 @@ 2. 通过文件名和文件大小判断是否重复。也就是说如果一个文件即使发生了更新,但其大小没有任何改变,是不会自动上传的 3. 不支持文件名包含 `/` 字符 4. 部分客户端兼容性不好 +5. 单列表最大文件数为200 # 免责声明 diff --git a/aliyun/api.go b/aliyun/api.go index 878c7c8..18bfebe 100644 --- a/aliyun/api.go +++ b/aliyun/api.go @@ -29,8 +29,8 @@ func GetList(token string, driveId string, parentFileId string) (model.FileListM postData := make(map[string]interface{}) postData["drive_id"] = driveId postData["parent_file_id"] = parentFileId - postData["limit"] = 100 - postData["all"] = true + postData["limit"] = 200 + postData["all"] = false postData["url_expire_sec"] = 1600 postData["image_thumbnail_process"] = "image/resize,w_400/format,jpeg" postData["image_url_process"] = "image/resize,w_1920/format,jpeg" diff --git a/main.go b/main.go index 975f3f8..99257e1 100644 --- a/main.go +++ b/main.go @@ -22,7 +22,7 @@ func init() { cache.Init() } -var Version = "v1.0.12" +var Version = "v1.0.13" type Task struct { Id string `json:"id"`