1
This commit is contained in:
parent
910861e955
commit
ebb7a03c2e
@ -1,6 +1,7 @@
|
|||||||
package jccommon
|
package jccommon
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"q5"
|
||||||
"f5"
|
"f5"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -114,7 +115,11 @@ type NftIdentityAndExtData struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (this *NftIdentityAndExtData) LoadFromDb(ds *f5.DataSet) {
|
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 {
|
func NewNftStackingPo() *NftStackingPo {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user