refactor: code review、数据库备份恢复支持ssh隧道操作

This commit is contained in:
meilin.huang
2024-01-05 22:16:38 +08:00
parent 5ada63d4a1
commit e158422091
43 changed files with 298 additions and 334 deletions

View File

@@ -30,7 +30,7 @@ type MachineCronJobRelate struct {
CreateTime *time.Time
}
func (m *MachineCronJobRelate) SetBaseInfo(la *model.LoginAccount) {
func (m *MachineCronJobRelate) SetBaseInfo(gt model.IdGenType, la *model.LoginAccount) {
now := time.Now()
m.CreateTime = &now
m.Creator = la.Username