1
This commit is contained in:
parent
e145ec4f72
commit
1b772f7e27
@ -110,6 +110,19 @@ class StakingController extends BaseAuthedController {
|
||||
public function redeemPreview()
|
||||
{
|
||||
$transId = getReqVal('trans_id', 0);
|
||||
$rows = Staking::all(myself()->_getAddress());
|
||||
$cegRewards = '0';
|
||||
foreach ($rows as $row) {
|
||||
$stakingDto = Staking::toDto($row);
|
||||
if ($stakingDto && $stakingDto['trans_id'] == $transId) {
|
||||
if ($stakingDto['trans_id']) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
myself()->_rspData(array(
|
||||
'ceg_rewards' => $cegRewards
|
||||
));
|
||||
}
|
||||
|
||||
public function stakingPreview()
|
||||
|
Loading…
x
Reference in New Issue
Block a user