feat:完善前后端回滚交互信息交换

This commit is contained in:
songzhibin97
2021-07-13 19:59:44 +08:00
parent e0f314d862
commit b67e17d8ff
3 changed files with 14 additions and 6 deletions

View File

@@ -7,10 +7,12 @@ import "gin-vue-admin/global"
type SysAutoCodeHistory struct {
global.GVA_MODEL
TableName string `json:"tableName"`
RequestMeta string `gorm:"type:text" json:"requestMeta,omitempty"` // 前端传入的结构化信息
AutoCodePath string `gorm:"type:text" json:"autoCodePath"` // 其他meta信息 path;path
InjectionMeta string `gorm:"type:text" json:"injectionMeta"` // 注入的内容 RouterPath@functionName@RouterString;
ApiIDs string `json:"apiIDs"` // api表注册内容
RequestMeta string `gorm:"type:text" json:"requestMeta,omitempty"` // 前端传入的结构化信息
AutoCodePath string `gorm:"type:text" json:"autoCodePath,omitempty"` // 其他meta信息 path;path
InjectionMeta string `gorm:"type:text" json:"injectionMeta,omitempty"` // 注入的内容 RouterPath@functionName@RouterString;
StructName string `json:"structName"`
StructCNName string `json:"structCNName"`
ApiIDs string `json:"apiIDs,omitempty"` // api表注册内容
Flag int // 表示对应状态 0 代表创建, 1 代表回滚 ...
}