1
This commit is contained in:
parent
e96a0a8bdb
commit
f39377fd95
@ -116,6 +116,7 @@ class BlockChain(object):
|
||||
['type', 0, '1:英雄 2:枪械'],
|
||||
['token_id', '', 'token_id'],
|
||||
['chip_ids', '', '需要卸下的chip token_ids多个用|分割'],
|
||||
['slot_ids', '', '槽位0-3多个用|分割'],
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
@ -132,6 +133,7 @@ class BlockChain(object):
|
||||
['type', 0, '1:英雄 2:枪械'],
|
||||
['token_id', '', 'token_id'],
|
||||
['chip_ids', '', '需要卸下的chip token_ids多个用|分割'],
|
||||
['slot_ids', '', '槽位0-3多个用|分割'],
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
|
@ -405,6 +405,8 @@ class BlockChainController extends BaseAuthedController {
|
||||
{
|
||||
$type = getReqVal('type', '');
|
||||
$tokenId = getReqVal('token_id', '');
|
||||
$chipIds = explode('|', getReqVal('chip_ids', ''));
|
||||
$slotIds = explode('|', getReqVal('slot_ids', ''));
|
||||
|
||||
switch ($type) {
|
||||
case 1:
|
||||
@ -429,8 +431,8 @@ class BlockChainController extends BaseAuthedController {
|
||||
'account_id' => myself()->_getAccountId(),
|
||||
'session_id' => myself()->_getSessionId(),
|
||||
'account' => myself()->_getOpenId(),
|
||||
'type' => $type,
|
||||
'token_id' => $tokenId,
|
||||
'token_type' => Nft::HERO_TYPE,
|
||||
'chip_ids' => implode('|', $chipIds)
|
||||
),
|
||||
array(
|
||||
@ -466,8 +468,8 @@ class BlockChainController extends BaseAuthedController {
|
||||
'account_id' => myself()->_getAccountId(),
|
||||
'session_id' => myself()->_getSessionId(),
|
||||
'account' => myself()->_getOpenId(),
|
||||
'type' => $type,
|
||||
'token_id' => $tokenId,
|
||||
'token_type' => Nft::HERO_TYPE,
|
||||
'chip_ids' => implode('|', $chipIds)
|
||||
),
|
||||
array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user