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;',