修改,兼容go-admin sdk方案

This commit is contained in:
linwenxiang committed 2021-03-09 19:12:49 +08:00
1 parent c541d09076
commit 25d8364bf4
151 files changed
+578 -3525

No files matched your search

+1 -2
View File
@@ -8,7 +8,6 @@ import (
"go-admin/app/jobs"
"go-admin/common/dto"
"go-admin/common/service"
"go-admin/tools/app/msg"
)
type SysJob struct {
@@ -38,7 +37,7 @@ func (e *SysJob) RemoveJob(c *dto.GeneralDelDto) error {
return err
}
case <-time.After(time.Second * 1):
e.Msg = msg.TimeOut
e.Msg = "操作超时!"
return nil
}
return nil