fix:移除注释
This commit is contained in:
parent
bdf3fa6144
commit
d811235da5
@ -102,7 +102,6 @@ func CreateCompetitiveReport(ctx *gin.Context) {
|
||||
}
|
||||
fmt.Println("生成PDF成功", pdfFilePath)
|
||||
|
||||
// 确保在上传后(无论成功或失败)删除临时PDF文件
|
||||
defer func() {
|
||||
// 检查文件是否存在,存在才删除
|
||||
if _, err := os.Stat(pdfFilePath); err == nil {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user