From c9989fa938796acf9e735f400dc9c72e67d8d1da Mon Sep 17 00:00:00 2001 From: lzh <1625167628@qq.com> Date: Tue, 24 Jun 2025 16:35:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E7=BB=93=E6=9E=9C=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E7=9B=B8=E5=AF=B9=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/files.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/files.go b/service/files.go index 0677930..2b13ef9 100644 --- a/service/files.go +++ b/service/files.go @@ -123,7 +123,7 @@ func (f *FilesProvider) Search(ctx context.Context, req *filesApi.SearchReq) (*f err := search.Search(fs, req.Path, req.Query, rules.EmptyChecker, func(path string, f os.FileInfo) error { result.Items = append(result.Items, &filesApi.SearchResp_Nested{ IsDir: f.IsDir(), - Path: req.Path + "/" + path, + Path: path, Name: f.Name(), Size: f.Size(), ModTime: f.ModTime().UnixMilli(),