mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-05-06 20:11:27 +08:00
[优化]优化目录
This commit is contained in:
@@ -7,8 +7,7 @@ import (
|
||||
"pandax/apps/job/services"
|
||||
logServices "pandax/apps/job/services"
|
||||
"pandax/pkg/global"
|
||||
"pandax/pkg/global_model"
|
||||
|
||||
"pandax/pkg/global/model"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
@@ -53,7 +52,7 @@ type ExecJob struct {
|
||||
func (e *ExecJob) Run() {
|
||||
startTime := time.Now()
|
||||
jobLog := logEntity.JobLog{Name: e.Name, EntryId: e.EntryId, TargetInvoke: e.InvokeTarget, Status: "0"}
|
||||
jobLog.Id = global_model.GenerateID()
|
||||
jobLog.Id = model.GenerateID()
|
||||
jobLog.OrgId = e.OrgId
|
||||
jobLog.Owner = e.Owner
|
||||
var obj = jobList[e.InvokeTarget]
|
||||
|
||||
Reference in New Issue
Block a user