This commit is contained in:
aozhiwei 2022-11-07 13:01:16 +08:00
parent 5990bbabec
commit 4c13a0eae3
2 changed files with 3 additions and 1 deletions

View File

@ -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'],

View File

@ -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;