This commit is contained in:
PandaGoAdmin
2021-12-17 11:55:49 +08:00
parent b6b95566e3
commit da9e1cf29c
13 changed files with 134 additions and 47 deletions

View File

@@ -7,11 +7,11 @@ import (
type LogOper struct {
OperId int64 `json:"operId" gorm:"primary_key;AUTO_INCREMENT"` //主键
Title string `json:"title" gorm:"type:varchar(128);comment:操作的模块"`
BusinessType int64 `json:"businessType" gorm:"type:int(1);comment:0其它 1新增 2修改 3删除"`
BusinessType string `json:"businessType" gorm:"type:varchar(1);comment:0其它 1新增 2修改 3删除"`
Method string `json:"method" gorm:"type:varchar(255);comment:请求方法"`
OperName string `json:"operName" gorm:"type:varchar(255);comment:操作人员"`
OperUrl string `json:"operUrl" gorm:"type:varchar(255);comment:操作url"`
OperIp string `json:"platform" gorm:"type:varchar(255);comment:操作IP"`
OperIp string `json:"operIp" gorm:"type:varchar(255);comment:操作IP"`
OperLocation string `json:"operLocation" gorm:"type:varchar(255);comment:操作地点"`
OperParam string `json:"operParam" gorm:"type:varchar(255);comment:请求参数"` //
Status string `json:"status" gorm:"type:varchar(1);comment:0=正常,1=异常"`