Add operation record, and the user ID is not well thought out how to parse~

This commit is contained in:
granty1
2020-06-30 13:55:43 +08:00
parent ce013d31c2
commit 974b7c7b81
4 changed files with 9 additions and 9 deletions

View File

@@ -16,5 +16,6 @@ type SysOperationRecord struct {
Latency time.Duration `json:"latency" form:"latency" gorm:"column:latency;comment:''"`
Agent string `json:"agent" form:"agent" gorm:"column:agent;comment:''"`
ErrorMessage string `json:"error_message" form:"error_message" gorm:"column:error_message;comment:''"`
Body string `json:"body" form:"body" gorm:"column:body;comment:'请求Body'"`
UserId int `json:"user_id" form:"user_id" gorm:"column:user_id;comment:''"`
}