fix: 更新多语言刷新缓存数据

This commit is contained in:
TsMask
2025-02-26 17:55:27 +08:00
parent 5c45a9b08e
commit a65ac8f9eb
3 changed files with 27 additions and 17 deletions

View File

@@ -2,15 +2,15 @@ package model
// SysI18n 系统_多语言 sys_i18n
type SysI18n struct {
ID int64 `json:"id" gorm:"column:config_id;primaryKey;autoIncrement"` // ID
DelFlag string `json:"delFlag" gorm:"column:del_flag"` // 删除标记0存在 1删除
CreateBy string `json:"createBy" gorm:"column:create_by"` // 创建者
CreateTime int64 `json:"createTime" gorm:"column:create_time"` // 创建时间
UpdateBy string `json:"updateBy" gorm:"column:update_by"` // 更新者
UpdateTime int64 `json:"updateTime" gorm:"column:update_time"` // 更新时间
Key string `json:"key" gorm:"column:key"` // 多语言属性名
ValueZh string `json:"valueZh" gorm:"column:value_zh"` // 中文
ValueEn string `json:"valueEn" gorm:"column:value_en"` // 英文
ID int64 `json:"id" gorm:"column:id;primaryKey;autoIncrement"` // ID
DelFlag string `json:"delFlag" gorm:"column:del_flag"` // 删除标记0存在 1删除
CreateBy string `json:"createBy" gorm:"column:create_by"` // 创建者
CreateTime int64 `json:"createTime" gorm:"column:create_time"` // 创建时间
UpdateBy string `json:"updateBy" gorm:"column:update_by"` // 更新者
UpdateTime int64 `json:"updateTime" gorm:"column:update_time"` // 更新时间
KeyLable string `json:"key" gorm:"column:key_lable"` // 多语言属性名
ValueZh string `json:"valueZh" gorm:"column:value_zh"` // 中文
ValueEn string `json:"valueEn" gorm:"column:value_en"` // 英文
}
// TableName 表名称