This commit is contained in:
aozhiwei 2023-08-28 15:13:21 +08:00
parent 3565943aca
commit cf8b3a45cf
2 changed files with 6 additions and 0 deletions

View File

@ -107,6 +107,11 @@ class StakingController extends BaseAuthedController {
));
}
public function redeemPreview()
{
$transId = getReqVal('trans_id', 0);
}
private function isTypeNft($type, $dbInfo)
{
switch ($type) {

View File

@ -183,6 +183,7 @@ class Staking extends BaseModel {
{
$stakingMeta = mt\Staking::get($row['item_id']);
$dto = array(
'trans_id' => $row['idx'],
'token_id' => $row['token_id'],
'token_type' => $row['token_type'],
'contract_address' => $row['contract_address'],