|
@@ -2007,6 +2007,10 @@ func (this *ReportController) ShareGenerate() {
|
|
|
br.ErrMsg = "参数解析失败, Err: " + e.Error()
|
|
|
return
|
|
|
}
|
|
|
+ reportItem, _ := models.GetReportByReportId(req.ReportId)
|
|
|
+ if reportItem != nil && reportItem.Title != "" {
|
|
|
+ req.Title = reportItem.Title
|
|
|
+ }
|
|
|
|
|
|
link, err := services.GetReportShareUrlToken(req, this.SysUser.AdminId)
|
|
|
if err != nil || link == "" {
|