From ac01536de23219a478a931cc8ef9942acabede48 Mon Sep 17 00:00:00 2001 From: lzh <1625167628@qq.com> Date: Tue, 24 Jun 2025 16:25:58 +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=BB=9D=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 c7e8902..0677930 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: req.Path + "/" + path, Name: f.Name(), Size: f.Size(), ModTime: f.ModTime().UnixMilli(),