diff --git a/webapp/controller/RechargeController.class.php b/webapp/controller/RechargeController.class.php index 1a6df7e..3f598b1 100644 --- a/webapp/controller/RechargeController.class.php +++ b/webapp/controller/RechargeController.class.php @@ -108,7 +108,7 @@ class RechargeController{ $response = json_decode($rsp, true); $diamonds = $response['diamond']; - $diamond_num = 0; + $diamond_num = -1; if ($diamonds > 0) { $userrow = $conn->execQueryOne( 'SELECT diamond_num, free_diamond FROM user WHERE accountid=:accountid;',