feat: change and add models

This commit is contained in:
zchengo
2023-01-25 16:13:07 +08:00
parent def12ca66e
commit 42d264f8ad
2 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ type Notice struct {
Updated int64 `gorm:"updated"`
}
type NoticeParam struct {
type NoticeCreateParam struct {
Content string `json:"content"`
Creator int64 `gorm:"creator"`
}