This commit is contained in:
aozhiwei 2024-07-29 11:44:04 +08:00
parent 910861e955
commit ebb7a03c2e

View File

@ -1,6 +1,7 @@
package jccommon
import (
"q5"
"f5"
)
@ -114,7 +115,11 @@ type NftIdentityAndExtData struct {
}
func (this *NftIdentityAndExtData) LoadFromDb(ds *f5.DataSet) {
this.NetId = q5.ToInt32(ds.GetByName("net_id"))
this.ContractAddress = ds.GetByName("contract_address")
this.TokenId = ds.GetByName("token_id")
this.ItemId = q5.ToInt32(ds.GetByName("item_id"))
this.Quality = q5.ToInt32(ds.GetByName("quality"))
}
func NewNftStackingPo() *NftStackingPo {