From 01405b09cbbb614ebad880b2446c6d273ead24f7 Mon Sep 17 00:00:00 2001 From: yangduo Date: Wed, 25 Dec 2024 16:57:56 +0800 Subject: [PATCH] 1 --- webapp/controller/RechargeController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;',