1
This commit is contained in:
parent
def608e0b0
commit
40061d2d79
@ -65,7 +65,7 @@ func GetHeroByTokenId(tokenId string, itemId *int32, heroQuality *int32) bool {
|
||||
return result
|
||||
}
|
||||
|
||||
func GetGoldBullionTokenId(netId int32, tokenId string, itemId *int32) bool {
|
||||
func GetGoldBullionByNetIdTokenId(netId int32, tokenId string, itemId *int32) bool {
|
||||
result := false
|
||||
f5.GetGoStyleDb().OrmSelectOne(
|
||||
constant.GAME_DB,
|
||||
|
@ -107,7 +107,10 @@ func (this* repairNft) repairNft(ds *f5.DataSet) bool {
|
||||
}
|
||||
case jccommon.NFT_TYPE_GOLD_BULLION:
|
||||
{
|
||||
|
||||
var itemId int32
|
||||
if service.GetGoldBullionByNetIdTokenId(netId, tokenId, &itemId) {
|
||||
this.updateNftItemId(netId, contractAddress, tokenId, itemId)
|
||||
}
|
||||
}
|
||||
}
|
||||
return true
|
||||
|
Loading…
x
Reference in New Issue
Block a user