This commit is contained in:
aozhiwei 2024-07-19 12:43:31 +08:00
parent 0e2a555f32
commit 1bd657334a

View File

@ -3,15 +3,11 @@ package task
import ( import (
//"fmt" //"fmt"
"sync" "sync"
//"main/task/spec_transfer721"
) )
type taskMgr struct { type taskMgr struct {
//HourlyTaskMgr
//DailyTaskMgr
webHook webHook
goldBullionReturn goldBullionReturn
//spec_transfer721.SpecTransfer721
repairNft repairNft
openGoldLock sync.Mutex openGoldLock sync.Mutex
sysMail sysMail
@ -21,11 +17,8 @@ type taskMgr struct {
} }
func (this *taskMgr) Init() { func (this *taskMgr) Init() {
//t.HourlyTaskMgr.Init()
//t.DailyTaskMgr.Init()
this.webHook.init() this.webHook.init()
this.goldBullionReturn.init() this.goldBullionReturn.init()
//this.SpecTransfer721.Init()
this.repairNft.init() this.repairNft.init()
this.sysMail.init() this.sysMail.init()
this.repairOrder.init() this.repairOrder.init()
@ -39,7 +32,6 @@ func (this *taskMgr) UnInit() {
this.repairOrder.unInit() this.repairOrder.unInit()
this.sysMail.unInit() this.sysMail.unInit()
this.repairNft.unInit() this.repairNft.unInit()
//this.SpecTransfer721.UnInit()
this.goldBullionReturn.unInit() this.goldBullionReturn.unInit()
this.webHook.unInit() this.webHook.unInit()
} }