feat:新存储了meta信息,完善了记录逻辑

This commit is contained in:
songzhibin97
2021-07-13 17:30:30 +08:00
parent 07ec0841c9
commit 7fcdaa523c
5 changed files with 59 additions and 24 deletions
+4 -2
View File
@@ -7,8 +7,10 @@ import "gin-vue-admin/global"
type SysAutoCodeHistory struct {
global.GVA_MODEL
TableName string
AutoCodeMeta string `gorm:"type:text"` // 其他meta信息 path;path
InjectionMeta string `gorm:"type:text"` // 注入的内容 RouterPath@functionName@RouterString;
RequestMeta string `gorm:"type:text" json:"request_meta,omitempty"` // 前端传入的结构化信息
AutoCodePath string `gorm:"type:text"` // 其他meta信息 path;path
InjectionMeta string `gorm:"type:text"` // 注入的内容 RouterPath@functionName@RouterString;
ApiIDs string // api表注册内容
Flag int // 表示对应状态 0 代表创建, 1 代表回滚 ...
}