数据结构优化

This commit is contained in:
李琦
2026-01-16 13:01:21 +08:00
parent 7271199bef
commit 08953731ad
31 changed files with 1159 additions and 886 deletions

View File

@@ -1,17 +1,14 @@
package models
import (
"time"
)
// Setting 系统配置模型
type Setting struct {
ID uint `json:"id"`
KeyName string `json:"keyName"`
Value string `json:"value"`
Description string `json:"description"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
ID uint `json:"id"`
KeyName string `json:"keyName"`
Value string `json:"value"`
Description string `json:"description"`
CreatedAt int64 `json:"createdAt"`
UpdatedAt int64 `json:"updatedAt"`
DeletedAt int64 `json:"deletedAt"`
}
// SettingResponse 系统配置响应模型