Skip to content

Commit

Permalink
Merge pull request #254 from Tobeyw/dev-mindy
Browse files Browse the repository at this point in the history
add log
  • Loading branch information
Tobeyw authored Jun 12, 2024
2 parents cc4542f + e34ebb3 commit 5a12a45
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions neo3fura_http/biz/api/src.GetMarketCollections.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,21 @@ import (
"encoding/base64"
"encoding/json"
"fmt"
"go.mongodb.org/mongo-driver/bson"
"go.mongodb.org/mongo-driver/bson/primitive"
"io/ioutil"
"math/big"
"net/http"
"os"
"strconv"
"strings"

"go.mongodb.org/mongo-driver/bson"
"go.mongodb.org/mongo-driver/bson/primitive"

"neo3fura_http/lib/joh"
log2 "neo3fura_http/lib/log"
"neo3fura_http/lib/type/Contract"
"neo3fura_http/lib/type/h160"
"neo3fura_http/var/stderr"
"net/http"
"os"
"strconv"
"strings"
)

// 广告位NFT
Expand Down Expand Up @@ -189,6 +191,7 @@ func (me *T) GetMarketCollections(args struct {
}
ss := string(tb[:])
if ss == "" {
log2.Fatal(item["asset"], item["tokenid"], item["image"])
item["thumbnail"] = ImagUrl(item["asset"].(string), item["image"].(string), "thumbnail")
} else {
item["thumbnail"] = ImagUrl(asset, string(tb[:]), "thumbnail")
Expand Down

0 comments on commit 5a12a45

Please sign in to comment.