增加回滚不删表按钮防止误删数据库重要数据

This commit is contained in:
piexlmax
2022-03-30 22:48:43 +08:00
parent 08c2b02be9
commit 13b12d80da
4 changed files with 21 additions and 11 deletions

View File

@@ -5,3 +5,9 @@ import "github.com/flipped-aurora/gin-vue-admin/server/model/common/request"
type SysAutoHistory struct {
request.PageInfo
}
// GetById Find by id structure
type RollBack struct {
ID int `json:"id" form:"id"` // 主键ID
DeleteTable bool `json:"deleteTable" form:"deleteTable"` // 是否删除表
}