1
This commit is contained in:
parent
9968b41d28
commit
974125e220
@ -1,10 +1,12 @@
|
|||||||
package task
|
package task
|
||||||
|
|
||||||
import (
|
import (
|
||||||
//"q5"
|
"q5"
|
||||||
"f5"
|
"f5"
|
||||||
"time"
|
"time"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"mt"
|
||||||
|
"jccommon"
|
||||||
"main/constant"
|
"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 {
|
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
|
return true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user