拓展类型

This commit is contained in:
2024-09-25 17:45:38 +08:00
parent a0e898e46c
commit 3b69ba93ad
15 changed files with 214 additions and 40 deletions
+1 -5
View File
@@ -4,7 +4,7 @@ import "work_cation/pkg/gormx"
type ErlangCards struct {
UUID string `json:"uuid"` // id ip加时间戳生成
UserIp string `json:"user_ip"` // 用户ip
UserID string `json:"user_id"` // 用户id
Title string `json:"title"` // 标题
Text string `json:"text"` // 内容
Covers gormx.ListString `json:"covers"` // 封面
@@ -12,8 +12,4 @@ type ErlangCards struct {
VarName gormx.ListString `json:"var_name"` // 变量
VarContent gormx.ListString `json:"var_content"` // 变量内容
IsShowOut bool `json:"is_show_out"` // 是否展示
Number int `json:"number"` // 数量
Goods int `json:"goods"` // 点赞
Collection int `json:"collection"` // 收藏
}