feat: swagger

This commit is contained in:
Blizzard
2025-09-16 14:27:32 +08:00
parent 79c19bc47c
commit 237ac665e6
19 changed files with 4690 additions and 91 deletions
+1 -1
View File
@@ -16,6 +16,6 @@ type SysOperationRecord struct {
ErrorMessage string `json:"erroMessage" form:"error_message" gorm:"column:error_message;comment:错误信息"` // 错误信息
Body string `json:"body" form:"body" gorm:"type:text;column:body;comment:请求Body"` // 请求Body
Resp string `json:"resp" form:"resp" gorm:"type:text;column:resp;comment:响应Body"` // 响应Body
UserID int `json:"userId" form:"user_id" gorm:"column:user_id;comment:用户id"` // 用户id
UserId string `json:"userId" form:"user_id" gorm:"column:user_id;comment:用户id"` // 用户id
User User `json:"user"`
}