websocket

This commit is contained in:
XM-GO
2023-04-14 17:14:49 +08:00
parent 5852896a32
commit c8418bc969
12 changed files with 296 additions and 5 deletions

View File

@@ -8,8 +8,8 @@ type VisualRuleChain struct {
UserId string `gorm:"userId;type:varchar(64);comment:用户Id" json:"userId"`
RuleId string `gorm:"primary_key;" json:"ruleId"`
RuleName string `gorm:"ruleName;type:varchar(50);comment:名称" json:"ruleName"`
RuleDataJson string `gorm:"ruleDataJson;type:text;comment:Json数据" json:"ruleDataJson"`
RuleBase64 string `gorm:"ruleBase64;type:text;comment:Base64缩略图" json:"ruleBase64"` //缩略图 base64
RuleDataJson string `gorm:"ruleDataJson;type:longtext;comment:Json数据" json:"ruleDataJson"`
RuleBase64 string `gorm:"ruleBase64;type:longtext;comment:Base64缩略图" json:"ruleBase64"` //缩略图 base64
RuleRemark string `gorm:"ruleRemark;type:varchar(256);comment:说明" json:"ruleRemark"`
Status string `gorm:"status;type:varchar(1);comment:状态" json:"status"`
Creator string `json:"creator"` //创建者