This commit is contained in:
songliang 2023-06-06 14:11:04 +08:00
parent 14836acdab
commit 043cc60076
2 changed files with 9 additions and 1 deletions

View File

@ -24,7 +24,7 @@ define('TN_HERO_MAX_LEVEL', 8008);
define('TN_LAST_RANKING_TIME', 8009);
define('TN_MISSION_STAR_SEASON', 8010);
define('TN_RANK_STATUS', 99999);
define('TN_FIRST_TUPOP_STATUS', 8012);
define('TN_DAILY_BEGIN', 9001);
define('TN_DAILY_LOGINS', 9001);

View File

@ -26,6 +26,9 @@ class FirstTopupController extends BaseAuthedController
// 检查所有 奖励都 领取完成
$complete = ($status[0] == 2 && $status[1] == 2 && $status[2] == 2) ? 1 : 0;
if ($complete == 1) {
$this->_setV(TN_FIRST_TUPOP_STATUS, 0, 1);
}
$this->_rspData(
array(
@ -106,6 +109,11 @@ class FirstTopupController extends BaseAuthedController
}
}
$complete = ($status[0] == 2 && $status[1] == 2 && $status[2] == 2) ? 1 : 0;
if ($complete == 1) {
$this->_setV(TN_FIRST_TUPOP_STATUS, 0, 1);
}
$this->_rspData(
array(
'group' => $group,