From 6549b2bf4b1e5d14393b0738613ebf44d66aeeec Mon Sep 17 00:00:00 2001 From: yangduo Date: Fri, 18 Apr 2025 16:42:44 +0800 Subject: [PATCH] adjust --- webapp/controller/SoloController.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webapp/controller/SoloController.class.php b/webapp/controller/SoloController.class.php index ee9bba3..1d792d5 100644 --- a/webapp/controller/SoloController.class.php +++ b/webapp/controller/SoloController.class.php @@ -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( 'errcode' => 0, 'errmsg' => '', 'type' => $type, + 'coin_nums' => $coin_num, + 'diamond_nums' => $diamond_num, 'talent' => array( 'norm' => $talent[0], 'unlockadv' => $talent[1],