Explorar o código

test: 共享报告回调

hsun hai 5 meses
pai
achega
0f9a46369a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/report_outer.go

+ 1 - 1
services/report_outer.go

@@ -44,7 +44,7 @@ func OuterReportCallBack(outReportId int, title, fileUrl, fileType string) (err
 
 	// 入参
 	var req OuterReportCallBackRequest
-	req.Name = title
+	req.Name = fmt.Sprintf("%s%s", title, fileType)
 	req.ReportId = outReportId
 	req.Url = fileUrl
 	req.FileType = fileType