This commit is contained in:
aozhiwei 2024-06-20 14:02:19 +08:00
parent 6d03e9448f
commit 25edd3d477

View File

@ -57,6 +57,7 @@ func (this *ShopCartApi) List(c *gin.Context) {
func (err error, ds* f5.DataSet) {
err1 = err
if err == nil {
if ds.Next() {
p := new(common.NftDto)
p.NetId = q5.ToInt32(ds.GetByName("net_id"))
p.ContractAddress = ds.GetByName("contract_address")
@ -65,6 +66,7 @@ func (this *ShopCartApi) List(c *gin.Context) {
q5.DecodeJson(ds.GetByName("event_data"), &p.Payload)
q5.AppendSlice(&nfts, p)
}
}
})
if err1 != nil {
rspObj.ErrCode = 500