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)