1
This commit is contained in:
parent
a29049af0e
commit
ab99ed726d
@ -152,6 +152,26 @@ class Nft extends BaseModel {
|
||||
'token_id' => $tokenId,
|
||||
)
|
||||
);
|
||||
if (!$row){
|
||||
$row = SqlHelper::ormSelectOne(
|
||||
myself()->_getMarketMysql(),
|
||||
't_nft1155',
|
||||
array(
|
||||
'token_id' => $tokenId,
|
||||
)
|
||||
);
|
||||
if ($row){
|
||||
if ($row['token_id'] > 10000000){
|
||||
$row['token_type'] = self::CHIP_TYPE;
|
||||
$row['token_state'] = 0;
|
||||
$row['tags'] = '';
|
||||
}else{
|
||||
$row['token_type'] = self::FRAGMENT_TYPE;
|
||||
$row['token_state'] = 0;
|
||||
$row['tags'] = '';
|
||||
}
|
||||
}
|
||||
}
|
||||
return $row;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user