Skip to content

Commit 3c9d817

Browse files
committed
修改body字段类型为longtext
1 parent 51b6c10 commit 3c9d817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/model/sys_operation_record.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type SysOperationRecord struct {
1616
Latency time.Duration `json:"latency" form:"latency" gorm:"column:latency;comment:延迟"`
1717
Agent string `json:"agent" form:"agent" gorm:"column:agent;comment:代理"`
1818
ErrorMessage string `json:"error_message" form:"error_message" gorm:"column:error_message;comment:错误信息"`
19-
Body string `json:"body" form:"body" gorm:"column:body;comment:请求Body"`
19+
Body string `json:"body" form:"body" gorm:"type:longtext;column:body;comment:请求Body"`
2020
Resp string `json:"resp" form:"resp" gorm:"type:longtext;column:resp;comment:响应Body"`
2121
UserID int `json:"user_id" form:"user_id" gorm:"column:user_id;comment:用户id"`
2222
User SysUser `json:"user"`

0 commit comments

Comments
 (0)