feat: swagger format

This commit is contained in:
Blizzard
2026-02-11 16:22:17 +08:00
parent 112a1f439c
commit 69e59b0e36
14 changed files with 54 additions and 44 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ import (
type Topic struct {
global.BaseModel
Title string `json:"title"`
StartTime time.Time `json:"start_time" gorm:"column:start_time;"`
EndTime time.Time `json:"end_time" gorm:"column:end_time;"`
StartTime time.Time `json:"startTime" gorm:"type:date;column:start_time;"`
EndTime time.Time `json:"endTime" gorm:"type:date;column:end_time;"`
Remark string `json:"remark"`
}