实现了erlang 脚本的展示使用部分

This commit is contained in:
2024-09-10 23:56:31 +08:00
parent b862d17c18
commit 28a84ad4d7
11 changed files with 234 additions and 33 deletions
+5
View File
@@ -0,0 +1,5 @@
package models
type ErlangCardCollections struct {
ErlangCards
}
+17
View File
@@ -0,0 +1,17 @@
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"` // 是否展示
Number string `json:"number"` // 数量
Goods string `json:"goods"` // 点赞
Collection string `json:"collection"` // 收藏
}
+6
View File
@@ -0,0 +1,6 @@
package models
type History struct {
UUID string `json:"uuid"`
Vars []string `json:"vars"`
}
+11
View File
@@ -0,0 +1,11 @@
package models
type Users struct {
Ip string `json:"ip"`
Name string `json:"name"` // 昵称
Avatar string `json:"avatar"` // 头像
Cover string `json:"cover"` // 封面
Email string `json:"email"`
Phone string `json:"phone"`
Address string `json:"address"`
}
+6
View File
@@ -0,0 +1,6 @@
package models
// UserFollows 关注用户
type UserFollows struct {
Users
}