1
This commit is contained in:
parent
0155ce2910
commit
7f8930851d
@ -222,13 +222,13 @@ class Nft extends BaseModel {
|
|||||||
if ($itemMeta) {
|
if ($itemMeta) {
|
||||||
$nftView['name'] = $itemMeta['name'];
|
$nftView['name'] = $itemMeta['name'];
|
||||||
$nftView['description'] = getXVal($itemMeta, 'nft_desc', $itemMeta['name']);
|
$nftView['description'] = getXVal($itemMeta, 'nft_desc', $itemMeta['name']);
|
||||||
$nftView['image'] = 'https://www.cebg.games/res/avatars/' . $itemMeta['id'] . '.png';
|
$nftView['image'] = 'https://www.cebg.games/res/nfts/' . $itemMeta['id'] . '.png';
|
||||||
$tags = self::parseTags($row['tags']);
|
$tags = self::parseTags($row['tags']);
|
||||||
if (in_array(self::GENESIS_TAG, $tags)) {
|
if (in_array(self::GENESIS_TAG, $tags)) {
|
||||||
$nftView['image'] = 'https://www.cebg.games/res/avatars/' . $itemMeta['id'] . '_1' . '.png';
|
$nftView['image'] = 'https://www.cebg.games/res/nfts/' . $itemMeta['id'] . '_1' . '.png';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$nftView['image'] = 'https://www.cebg.games/res/avatars/0.png';
|
$nftView['image'] = 'https://www.cebg.games/res/nfts/0.png';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user