This commit is contained in:
aozhiwei 2024-06-23 12:15:31 +08:00
parent 9968b41d28
commit 974125e220

View File

@ -1,10 +1,12 @@
package task
import (
//"q5"
"q5"
"f5"
"time"
"fmt"
"mt"
"jccommon"
"main/constant"
)
@ -44,5 +46,17 @@ SELECT * FROM t_721nft_spec_transfer WHERE idx > %d AND status = 0 AND createtim
}
func (this* specTransfer721) process1(ds *f5.DataSet) bool {
netId := q5.ToInt32(ds.GetByName("net_id"))
contractAddress := ds.GetByName("contract_address")
//tokenId := ds.GetByName("token_id")
contractMeta := mt.Table.Contract.GetByNetIdAddress(netId, contractAddress)
if contractMeta != nil {
switch contractMeta.GetName() {
case jccommon.CONTRACT_NAME_CFHero: {
}
case jccommon.CONTRACT_NAME_GoldBrick: {
}
}
}
return true
}