技术性调整

This commit is contained in:
hoteas
2022-07-26 17:37:17 +08:00
parent 7d74ebf4e4
commit c91c610d2d
5 changed files with 58 additions and 384 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ func (that *Context) View() {
}
//创建日志
if that.Log != nil {
that.Log["time"] = time.Now().Unix()
that.Log["time"] = time.Now().Format("2006-01-02 15:04")
if that.Session("admin_id").Data != nil {
that.Log["admin_id"] = that.Session("admin_id").ToCeilInt()
}