mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 04:30:05 +00:00
🔊 v0.3.0 计划任务(定期备份等场景)
This commit is contained in:
@@ -22,7 +22,7 @@ func ServeWeb(port uint) {
|
||||
r.Use(mygin.RecordPath)
|
||||
r.SetFuncMap(template.FuncMap{
|
||||
"tf": func(t time.Time) string {
|
||||
return t.Format("2006年1月2号")
|
||||
return t.Format("2006年1月2号 15:04:05")
|
||||
},
|
||||
"safe": func(s string) template.HTML {
|
||||
return template.HTML(s)
|
||||
|
||||
Reference in New Issue
Block a user