diff --git a/webapp/controller/BlockChainController.class.php b/webapp/controller/BlockChainController.class.php index 49ba32ac..c244a729 100644 --- a/webapp/controller/BlockChainController.class.php +++ b/webapp/controller/BlockChainController.class.php @@ -440,11 +440,12 @@ class BlockChainController extends BaseAuthedController { 'account_id' => myself()->_getAccountId(), 'session_id' => myself()->_getSessionId(), 'account' => myself()->_getOpenId(), + 'type' => $type, 'token_id' => $tokenId, 'chip_ids' => implode('|', $chipIds) ), array( - 'action' => Transaction::EVOLVE_CHIP_ACTION_TYPE, + 'action' => Transaction::UNPLUG_CHIP_ACTION_TYPE, 'tokenId' => $tokenId, 'tokenType' => 0, 'itemUniId' => $heroDb['chip_uniid'], diff --git a/webapp/models/Transaction.php b/webapp/models/Transaction.php index 7a2fc2c4..1e3c9f02 100644 --- a/webapp/models/Transaction.php +++ b/webapp/models/Transaction.php @@ -13,6 +13,7 @@ class Transaction extends BaseModel { const EVOLVE_CHIP_ACTION_TYPE = 4; const MINT_SHARD_BATCH_ACTION_TYPE = 5; const SHARD_MIX_BY_USER_ACTION_TYPE = 6; + const UNPLUG_CHIP_ACTION_TYPE = 7; const CREATED_STATUS = 1; const REPORTED_STATUS = 2;