fix: error clicked when create new news
This commit is contained in:
parent
990026cece
commit
09d9c4efb8
@ -35,7 +35,7 @@ type News struct {
|
|||||||
LiveAt time.Time `json:"live_at"`
|
LiveAt time.Time `json:"live_at"`
|
||||||
CreatedAt time.Time `json:"created_at"`
|
CreatedAt time.Time `json:"created_at"`
|
||||||
UpdatedAt time.Time `json:"updated_at"`
|
UpdatedAt time.Time `json:"updated_at"`
|
||||||
Clicked int64 `json:"clicked"`
|
Clicked int64 `json:"clicked" gorm:"-"`
|
||||||
|
|
||||||
Author Staff `json:"author"`
|
Author Staff `json:"author"`
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user