diff --git a/webapp/classes/AddReward.php b/webapp/classes/AddReward.php index 62e3be0..9d05c1a 100644 --- a/webapp/classes/AddReward.php +++ b/webapp/classes/AddReward.php @@ -170,7 +170,6 @@ class AddReward { } $status = 2; $active_time = $time * 3600 + time(); - error_log($active_time); if ($time == 0) { $active_time = 0; $status = 1; diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 3083d39..6791efa 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -165,7 +165,6 @@ class ShopController{ public function buyItem() { - error_log(11111111111); $account_id = $_REQUEST['account_id']; //登录校验 $login = loginVerify($account_id, $_REQUEST['session_id']); @@ -178,8 +177,6 @@ class ShopController{ return; } $shop_uuid = $_REQUEST['shop_uuid']; - error_log($shop_uuid); - error_log($shop_id); $item_id = 0; $item_num = 0; $price = 0; @@ -228,10 +225,6 @@ class ShopController{ $r->set($shop_uuid, json_encode($user_db)); $r -> pexpire($shop_uuid, 1000 * 3600 * 24); //增加奖励 - error_log(2222222222222222); - error_log($item_id); - error_log($item_num); - error_log($time); $addreward = new classes\AddReward(); $all_item_list = $addreward->addReward($item_id, $item_num, $account_id, $time); $coin_num = $addreward->getCoinNum($account_id);