拓展类型
This commit is contained in:
@@ -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"` // 收藏
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user