From bc1babb5b56b91f6fe12a53b464a28aef10074de Mon Sep 17 00:00:00 2001
From: xsgy <86878459+Kx-Y@users.noreply.github.com>
Date: Thu, 19 Jan 2023 12:05:14 +0800
Subject: [PATCH] fix(lanzou): shortened filename when uploading files (#3099)

---
 drivers/lanzou/driver.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/lanzou/driver.go b/drivers/lanzou/driver.go
index 8551bef2..fc01ae35 100644
--- a/drivers/lanzou/driver.go
+++ b/drivers/lanzou/driver.go
@@ -210,6 +210,8 @@ func (d *LanZou) Put(ctx context.Context, dstDir model.Obj, stream model.FileStr
 		_, err := d._post(d.BaseUrl+"/fileup.php", func(req *resty.Request) {
 			req.SetFormData(map[string]string{
 				"task":      "1",
+				"vie":       "2",
+				"ve":        "2",
 				"id":        "WU_FILE_0",
 				"name":      stream.GetName(),
 				"folder_id": dstDir.GetID(),