From e478c973ea998025330b6870239f7c8b44ca411a Mon Sep 17 00:00:00 2001 From: junleea <354425203@qq.com> Date: Thu, 3 Apr 2025 16:32:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=A0=B9=E6=8D=AEtitle?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E5=88=B6=E4=BD=9C=E7=9A=84ppt=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/spark/spark-ppt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/spark/spark-ppt.go b/service/spark/spark-ppt.go index 020097f..a5388ea 100644 --- a/service/spark/spark-ppt.go +++ b/service/spark/spark-ppt.go @@ -342,7 +342,7 @@ func SparkDoGetPPTInfoBySID(modelParam *proto.ModelParam, userReq *proto.SparkCr return } //保存文件路径到数据库 - fileRecord := dao.CreateFile(fileName, "", "", filePath, "", 0, base.UserID, false) + fileRecord := dao.CreateFile(fileName, userReq.Outline.Title+".pptx", "", filePath, "", 0, base.UserID, false) fileAuth := service.CreateUserFile(base.UserID, fileRecord.FileName, int(fileRecord.ID), proto.UserFileTypeFile) if fileRecord.ID == 0 || fileAuth.ID == 0 { log.Println("save file info failed", fileRecord.ID, fileAuth.ID)