增加自动化代码回滚功能

This commit is contained in:
pixel
2021-07-14 14:37:04 +08:00
parent 2de1d42a30
commit 3434b2ba5e
8 changed files with 87 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ import "gin-vue-admin/global"
type SysAutoCodeHistory struct {
global.GVA_MODEL
TableName string `json:"tableName,omitempty"`
TableName string `json:"tableName"`
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;