diff --git a/webapp/controller/BlockChainController.class.php b/webapp/controller/BlockChainController.class.php index f98c36c7..1fbe4e57 100644 --- a/webapp/controller/BlockChainController.class.php +++ b/webapp/controller/BlockChainController.class.php @@ -432,6 +432,26 @@ class BlockChainController extends BaseAuthedController { myself()->_rspErr(101, 'token_id paramater error'); return; } + + $this->internalBcCall( + array( + 'c' => 'BcService', + 'a' => 'unplugChip', + 'account_id' => myself()->_getAccountId(), + 'session_id' => myself()->_getSessionId(), + 'account' => myself()->_getOpenId(), + 'token_id' => $tokenId, + 'chip_ids' => implode('|', $chipIds) + ), + array( + 'action' => Transaction::EVOLVE_CHIP_ACTION_TYPE, + 'tokenId' => $tokenId1, + 'tokenType' => 0, + 'itemUniId' => $nftDb['chip_uniid'], + 'itemId' => $nftDb['item_id'] + ) + ); + } break; case 2: