Commit 49cc2c79 authored by jingbo.wang's avatar jingbo.wang

每个月11号发送月表

parent d33d84ba
......@@ -62,6 +62,11 @@ func RegularMail(dir string) {
if next.Weekday() == time.Monday {
callSendEmailApi("week", next, "all", receiverList)
}
//月
if next.Day() == 1 {
callSendEmailApi("month", next, "all", receiverList)
}
}
}()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment