gormv2升级 第一阶段

This commit is contained in:
QM303176530
2020-08-23 15:27:00 +08:00
parent 363ff3ba70
commit 48e6ac39e2
2 changed files with 2 additions and 2 deletions

View File

@@ -18,6 +18,6 @@ type SysOperationRecord struct {
ErrorMessage string `json:"error_message" form:"error_message" gorm:"column:error_message;comment:''"`
Body string `json:"body" form:"body" gorm:"column:body;comment:'请求Body'"`
Resp string `json:"resp" form:"resp" gorm:"column:resp;comment:'响应Body'"`
UserId int `json:"user_id" form:"user_id" gorm:"column:user_id;comment:''"`
UserID int `json:"user_id" form:"user_id" gorm:"column:user_id;comment:''"`
User SysUser `json:"user"`
}