Browse Source

后台操作日志

master
huangjiajun 23 hours ago
parent
commit
6edcf1c593
1 changed files with 15 additions and 0 deletions
  1. +15
    -0
      src/model/admin_log.go

+ 15
- 0
src/model/admin_log.go View File

@@ -0,0 +1,15 @@
package model

import (
"time"
)

type AdminLog struct {
Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
Type string `json:"type" xorm:"VARCHAR(255)"`
AdminId int `json:"admin_id" xorm:"default 0 INT(11)"`
Memo string `json:"memo" xorm:"VARCHAR(2000)"`
Time time.Time `json:"time" xorm:"DATETIME"`
Ip string `json:"ip" xorm:"VARCHAR(255)"`
Data string `json:"data" xorm:"TEXT"`
}

Loading…
Cancel
Save