diff --git a/server/light_backtask/task/contribution.go b/server/light_backtask/task/contribution.go new file mode 100644 index 00000000..cc42173e --- /dev/null +++ b/server/light_backtask/task/contribution.go @@ -0,0 +1,16 @@ +package task + +import ( + +) + +type contribution struct { + +} + +func (this* contribution) init() { + +} + +func (this* contribution) unInit() { +} diff --git a/server/light_backtask/task/taskmgr.go b/server/light_backtask/task/taskmgr.go index 629746a4..508fff40 100644 --- a/server/light_backtask/task/taskmgr.go +++ b/server/light_backtask/task/taskmgr.go @@ -9,6 +9,7 @@ type taskMgr struct { sysMail repairOrder refreshMeta + contribution } func (this *taskMgr) Init() { @@ -17,9 +18,11 @@ func (this *taskMgr) Init() { this.sysMail.init() this.repairOrder.init() //this.refreshMeta.init() + this.contribution.init() } func (this *taskMgr) UnInit() { + this.contribution.unInit() //this.refreshMeta.unInit() this.repairOrder.unInit() this.sysMail.unInit() diff --git a/server/marketserver/api/v1/market/marketsecondary.go b/server/marketserver/api/v1/market/marketsecondary.go index 55faaa36..d7ea27cd 100644 --- a/server/marketserver/api/v1/market/marketsecondary.go +++ b/server/marketserver/api/v1/market/marketsecondary.go @@ -46,7 +46,7 @@ func (this *MarketApi) LockList(c *gin.Context) { lockAddress := "" { nftLockMeta := mt.Table.Contract.GetByNetIdName(int32(netId), jccommon.CONTRACT_NAME_NFTLock) - if nftLockMeta == nil { + if nftLockMeta != nil { lockAddress = strings.ToLower(nftLockMeta.GetAddress()) } }