1
This commit is contained in:
parent
d7d8349703
commit
82bca8909b
@ -127,12 +127,7 @@ class UserController extends BaseAuthedController {
|
||||
if ($tokenType == Nft::NONE_TYPE) {
|
||||
return;
|
||||
} else {
|
||||
$tokenid1= Nft::addNft($itemMeta);
|
||||
error_log(json_encode(
|
||||
array(
|
||||
'token_id_____1'=> $tokenid1
|
||||
)
|
||||
));
|
||||
Nft::addNft($itemMeta);
|
||||
}
|
||||
}
|
||||
$itemMeta2= mt\Item::get($itemId2);
|
||||
@ -141,12 +136,7 @@ class UserController extends BaseAuthedController {
|
||||
if ($tokenType == Nft::NONE_TYPE) {
|
||||
return;
|
||||
} else {
|
||||
$tokenid2=Nft::addNft($itemMeta2);
|
||||
error_log(json_encode(
|
||||
array(
|
||||
'token_id_____2'=> $tokenid2
|
||||
)
|
||||
));
|
||||
Nft::addNft($itemMeta2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -130,6 +130,11 @@ class Chip extends BaseModel
|
||||
|
||||
public static function addChip($itemId, $tokenId)
|
||||
{
|
||||
error_log(json_encode(
|
||||
array(
|
||||
'token_____id'=> $tokenId
|
||||
)
|
||||
));
|
||||
return self::internalAddItem(
|
||||
myself()->_getMysql($tokenId),
|
||||
$itemId,
|
||||
|
@ -358,11 +358,7 @@ class Nft extends BaseModel {
|
||||
)
|
||||
);
|
||||
}
|
||||
error_log(json_encode(
|
||||
array(
|
||||
'token_id'=> $tokenId
|
||||
)
|
||||
));
|
||||
|
||||
return $tokenId;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user