chore: rename field name

This commit is contained in:
deepzz0
2021-04-27 16:16:32 +08:00
parent 1815cea2cd
commit 6b74e1d208
17 changed files with 586 additions and 454 deletions
+7 -7
View File
@@ -3,12 +3,12 @@ package model
// Blogger 博客信息
type Blogger struct {
BlogName string `gorm:"not null"` // 博客名
SubTitle string `gorm:"not null"` // 子标题
BeiAn string `gorm:"not null"` // 备案号
BTitle string `gorm:"not null"` // 底部title
Copyright string `gorm:"not null"` // 版权声明
BlogName string `gorm:"column:blog_name;not null" bson:"blog_name"` // 博客名
SubTitle string `gorm:"column:sub_title;not null" bson:"sub_title"` // 子标题
BeiAn string `gorm:"column:bei_an;not null" bson:"bei_an"` // 备案号
BTitle string `gorm:"column:b_title;not null" bson:"b_title"` // 底部title
Copyright string `gorm:"column:copyright;not null" bson:"copyright"` // 版权声明
SeriesSay string `gorm:"not null"` // 专题说明
ArchivesSay string `gorm:"not null"` // 归档说明
SeriesSay string `gorm:"column:series_say;not null" bson:"series_say"` // 专题说明
ArchiveSay string `gorm:"column:archive_say;not null" bson:"archive_say"` // 归档说明
}