1
This commit is contained in:
parent
07396c0750
commit
43eada472e
@ -113,6 +113,8 @@ class StakingController extends BaseAuthedController {
|
||||
}
|
||||
|
||||
public function stakingPreview()
|
||||
{
|
||||
$checkList = array();
|
||||
{
|
||||
$tokenIdList = getReqVal('token_id_list', '');
|
||||
$contractAddressList = getReqVal('contract_address_list', '');
|
||||
@ -125,6 +127,14 @@ class StakingController extends BaseAuthedController {
|
||||
myself()->_rspErr(1, 'paramater error');
|
||||
return;
|
||||
}
|
||||
for ($i = 0; $i < count($tokenIdList); ++$i) {
|
||||
$checkList[$tokenIdList[$i]] = array(
|
||||
'token_id' => $tokenIdList[$i],
|
||||
'contract_address' => $contractAddressList[$i],
|
||||
'net_id' => $netId
|
||||
);
|
||||
}
|
||||
}
|
||||
$confirmedNfts = array();
|
||||
{
|
||||
$nftList = Nft::getNftList(myself()-_getAddress());
|
||||
|
Loading…
x
Reference in New Issue
Block a user