This commit is contained in:
yangduo 2025-04-18 16:42:44 +08:00
parent 4a50603db9
commit 6549b2bf4b

View File

@ -981,10 +981,15 @@ class SoloController
) )
); );
$addreward = new classes\AddReward();
$coin_num = $addreward->getCoinNum($account_id);
$diamond_num = $addreward->getDiamondNum($account_id);
echo json_encode(array( echo json_encode(array(
'errcode' => 0, 'errcode' => 0,
'errmsg' => '', 'errmsg' => '',
'type' => $type, 'type' => $type,
'coin_nums' => $coin_num,
'diamond_nums' => $diamond_num,
'talent' => array( 'talent' => array(
'norm' => $talent[0], 'norm' => $talent[0],
'unlockadv' => $talent[1], 'unlockadv' => $talent[1],