소스 검색

test: 共享报告回调

hsun 5 달 전
부모
커밋
0f9a46369a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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