From 438dc5dd764e2c8f2aa15f61e24410f366309bb6 Mon Sep 17 00:00:00 2001 From: songjc <969378911@qq.com> Date: Thu, 10 Aug 2023 10:56:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=89=B9=E9=87=8F=E8=B0=83?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/services/cmd/storage.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/services/cmd/storage.go b/internal/services/cmd/storage.go index c3f8aa1..ae48e79 100644 --- a/internal/services/cmd/storage.go +++ b/internal/services/cmd/storage.go @@ -24,6 +24,7 @@ import ( ) func (service *Service) StartStorageMoveObject(msg *agtmsg.StartStorageMoveObject) (*agtmsg.StartStorageMoveObjectResp, *ramsg.CodeMessage) { + // TODO 修改文件名,可用objectname outFileName := utils.MakeMoveOperationFileName(msg.ObjectID, msg.UserID) outFilePath := filepath.Join(config.Cfg().StorageBaseDir, msg.Directory, outFileName)