diff --git a/webapp/controller/ShareController.class.php b/webapp/controller/ShareController.class.php index 8d3f9cf..913c317 100644 --- a/webapp/controller/ShareController.class.php +++ b/webapp/controller/ShareController.class.php @@ -400,6 +400,7 @@ class ShareController{ public function dailyReward() { + error_log($_REQUEST['type']); $account_id = $_REQUEST['account_id']; //登录校验 $login = loginVerify($account_id, $_REQUEST['session_id']); @@ -425,10 +426,6 @@ class ShareController{ switch ($type) { case 1: //免费金币 - if ($row['free_coin_time'] >= 5) { - phpcommon\sendError(ERR_USER_BASE + 3, '奖励已领取'); - return; - } $this->updateDailyStatus($account_id, 1); break; case 2: //免费钻石