Browse Source

fix: 修复了执行周期更新失败的问题

release-1.0 v1.0.5
ssongliu 2 years ago committed by ssongliu
parent
commit
1d5797fe68
  1. 1
      backend/app/service/cornjob.go

1
backend/app/service/cornjob.go

@ -194,6 +194,7 @@ func (u *CronjobService) Update(id uint, req dto.CronjobUpdate) error {
upMap := make(map[string]interface{})
upMap["entry_id"] = newEntryID
upMap["name"] = req.Name
upMap["spec"] = cronjob.Spec
upMap["script"] = req.Script
upMap["spec_type"] = req.SpecType
upMap["week"] = req.Week

Loading…
Cancel
Save