diff --git a/web/controllers/ap/ap.go b/web/controllers/ap/ap.go index ebb6ab7..f38d48b 100644 --- a/web/controllers/ap/ap.go +++ b/web/controllers/ap/ap.go @@ -6,7 +6,6 @@ import ( "github.com/kataras/iris/v12/core/router" "leit.com/LAPP_CHEERSSON_BACKEND/grmi" svr "leit.com/LAPP_CHEERSSON_BACKEND/services/ap" - "leit.com/LAPP_CHEERSSON_BACKEND/services/erp" "time" ) @@ -737,14 +736,14 @@ func init() { balanceService.RefreshData() }) - go func() { - timer := time.NewTicker(10 * time.Second) - for { - select { - case <-timer.C: - erp.PublishPlan(100,"admin") - } - } - }() + //go func() { + // timer := time.NewTicker(10 * time.Second) + // for { + // select { + // case <-timer.C: + // erp.PublishPlan(100,"admin") + // } + // } + //}() }