Commit 5362a8b4 authored by jingbo.wang's avatar jingbo.wang

修复显示中URL地址为day的bug

parent 9d846c30
...@@ -107,6 +107,9 @@ func reportForm(t time.Time, dir string, n int) { ...@@ -107,6 +107,9 @@ func reportForm(t time.Time, dir string, n int) {
if n == 7 { if n == 7 {
long = "week" long = "week"
} }
if n == 30 {
long = "month"
}
//总表 //总表
all := sm.ReportForm(long) all := sm.ReportForm(long)
......
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