This commit is contained in:
aozhiwei 2024-07-20 11:16:06 +08:00
parent 64974b03dc
commit 47f6621a6d
3 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,16 @@
package task
import (
)
type contribution struct {
}
func (this* contribution) init() {
}
func (this* contribution) unInit() {
}

View File

@ -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()

View File

@ -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())
}
}