完成基本的创建使用功能

This commit is contained in:
2024-09-11 20:19:47 +08:00
parent 28a84ad4d7
commit 951572a1f5
22 changed files with 783 additions and 31 deletions
+15 -13
View File
@@ -1,17 +1,19 @@
package models
type ErlangCards struct {
UUID string `json:"uuid"` // id ip加时间戳生成
UserIp string `json:"user_ip"` // 用户ip
Title string `json:"title"` // 标题
Text string `json:"text"` // 内容
Covers []string `json:"covers"` // 封面
Template string `json:"template"` // 模版
VarName []string `json:"var_name"` // 变量
VarContent []string `json:"var_content"` // 变量内容
IsShowOut bool `json:"is_show_out"` // 是否展示
import "work_cation/pkg/gormx"
Number string `json:"number"` // 数量
Goods string `json:"goods"` // 点赞
Collection string `json:"collection"` // 收藏
type ErlangCards struct {
UUID string `json:"uuid"` // id ip加时间戳生成
UserIp string `json:"user_ip"` // 用户ip
Title string `json:"title"` // 标题
Text string `json:"text"` // 内容
Covers gormx.ListString `json:"covers"` // 封面
Template string `json:"template"` // 模版
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"` // 收藏
}