初始化项目文件
This commit is contained in:
14
api_iris/model/sysError.go
Normal file
14
api_iris/model/sysError.go
Normal file
@ -0,0 +1,14 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"gorm.io/gorm"
|
||||
"time"
|
||||
)
|
||||
|
||||
type SysError struct {
|
||||
Username string `json:"username"`
|
||||
Time time.Time `json:"time"`
|
||||
Function string `json:"function"`
|
||||
ErrorInfo string `json:"error_info"`
|
||||
gorm.Model
|
||||
}
|
Reference in New Issue
Block a user