From 7417e88927c3bf75b2b1e02363bcdd902a08c583 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 25 Jul 2019 19:53:40 +0800 Subject: [PATCH] 1 --- webapp/controller/ShopController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 25a021d..fe38453 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -246,7 +246,7 @@ class ShopController{ } if ($_REQUEST['type'] == 3) { $p = $this->getParameter(RAND_SHOP_GOLD); - $this->SubCoin($p['param_value'], $account_id); + $this->SubCoin($p['param_value'], $account_id, 1); } $ret = $conn->execScript('UPDATE user SET shop_flush_times=:shop_flush_times, modify_time=:modify_time ' . ' WHERE accountid=:accountid;',