🆕新增操作日志

This commit is contained in:
coward
2024-08-08 17:26:50 +08:00
parent 1cb2a919d1
commit c1d696ac19
11 changed files with 239 additions and 4 deletions

View File

@@ -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"
}