1
This commit is contained in:
parent
64974b03dc
commit
47f6621a6d
16
server/light_backtask/task/contribution.go
Normal file
16
server/light_backtask/task/contribution.go
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
package task
|
||||||
|
|
||||||
|
import (
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
|
type contribution struct {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func (this* contribution) init() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func (this* contribution) unInit() {
|
||||||
|
}
|
@ -9,6 +9,7 @@ type taskMgr struct {
|
|||||||
sysMail
|
sysMail
|
||||||
repairOrder
|
repairOrder
|
||||||
refreshMeta
|
refreshMeta
|
||||||
|
contribution
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *taskMgr) Init() {
|
func (this *taskMgr) Init() {
|
||||||
@ -17,9 +18,11 @@ func (this *taskMgr) Init() {
|
|||||||
this.sysMail.init()
|
this.sysMail.init()
|
||||||
this.repairOrder.init()
|
this.repairOrder.init()
|
||||||
//this.refreshMeta.init()
|
//this.refreshMeta.init()
|
||||||
|
this.contribution.init()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *taskMgr) UnInit() {
|
func (this *taskMgr) UnInit() {
|
||||||
|
this.contribution.unInit()
|
||||||
//this.refreshMeta.unInit()
|
//this.refreshMeta.unInit()
|
||||||
this.repairOrder.unInit()
|
this.repairOrder.unInit()
|
||||||
this.sysMail.unInit()
|
this.sysMail.unInit()
|
||||||
|
@ -46,7 +46,7 @@ func (this *MarketApi) LockList(c *gin.Context) {
|
|||||||
lockAddress := ""
|
lockAddress := ""
|
||||||
{
|
{
|
||||||
nftLockMeta := mt.Table.Contract.GetByNetIdName(int32(netId), jccommon.CONTRACT_NAME_NFTLock)
|
nftLockMeta := mt.Table.Contract.GetByNetIdName(int32(netId), jccommon.CONTRACT_NAME_NFTLock)
|
||||||
if nftLockMeta == nil {
|
if nftLockMeta != nil {
|
||||||
lockAddress = strings.ToLower(nftLockMeta.GetAddress())
|
lockAddress = strings.ToLower(nftLockMeta.GetAddress())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user