From d6a5cbaf17c5b2d4f820cdb2bab554a4357d7ae1 Mon Sep 17 00:00:00 2001 From: wangwei01 Date: Fri, 26 Jul 2019 14:07:04 +0800 Subject: [PATCH] 1 --- webapp/controller/ShopController.class.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 20f9876..ff7c97f 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -270,10 +270,6 @@ class ShopController{ phpcommon\sendError(ERR_USER_BASE + 1,'session失效'); return; } - if ($_REQUEST['type'] == 3) { - $p = $this->getParameter(RAND_SHOP_GOLD); - $this->SubCoin($p['param_value'], $account_id, 1); - } unset($user_db['shop_list']); $shop_list = $this->randomShop(); $user_db['shop_list'] = $shop_list;