mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-02-09 14:25:37 +08:00
refactor: code review、数据库备份恢复支持ssh隧道操作
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user