diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 82021f6..32e0d46 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -239,6 +239,10 @@ class ShopController{ phpcommon\sendError(ERR_USER_BASE + 3, '今日刷新次数已满'); return; } + if ($_REQUEST['type'] == 3) { + $p = $this->getParameter(RAND_SHOP_GOLD); + $this->SubCoin($p['param_value'], $account_id); + } $ret = $conn->execScript('UPDATE user SET shop_flush_times=:shop_flush_times, modify_time=:modify_time ' . ' WHERE accountid=:accountid;', array(