🆕新增操作日志
This commit is contained in:
@@ -16,3 +16,7 @@ type RequestLog struct {
|
||||
StatusCode int `json:"statusCode" gorm:"type:int(10);comment:'响应状态码'"`
|
||||
Response string `json:"response" gorm:"type:text;comment:'返回数据'"`
|
||||
}
|
||||
|
||||
func (RequestLog) TableName() string {
|
||||
return "t_request_log"
|
||||
}
|
||||
|
Reference in New Issue
Block a user