Skip to content

Commit

Permalink
Fix template issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Logan committed Apr 24, 2020
1 parent 98d6671 commit 1a7da93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apis/cron.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func SendInformation() {
m.SetAddressHeader("From", "no-reply@rancher.cn", "Rancher Labs 中国")
m.SetHeader("To", sends...)
m.SetHeader("Subject", yesterday+"用户信息")
m.SetBody("text/plain", `从 `+yesterday+` 08:00 ~ `+today+` 08:00,一共有 `+strconv.Itoa(count)+` 人下载了中文文档。`)
m.SetBody("text/plain", yesterday+` 08:00 ~ `+today+` 08:00,一共有 `+strconv.Itoa(count)+` 人下载了中文文档。`)

m.Attach("/tmp/" + yesterday + ".xlsx")

Expand Down

0 comments on commit 1a7da93

Please sign in to comment.