This commit is contained in:
aozhiwei 2024-05-14 19:29:13 +08:00
parent 83448657bd
commit 49641c12b2
3 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit cd255795e3b8be6ca99faaa8eff0ce49a4de871d
Subproject commit 11fd016051f98589781dc1f0c2375ffd0c1a8814

View File

@ -134,7 +134,7 @@ class BaseAuthedController extends BaseController {
//第一次登录或者跨天更新最后活跃时间
if (empty($lastActiveTime) ||
$lastActiveTime < $this->_getNowDaySeconds()) {
$r->setNxPx(LAST_ACTIVE_TIME . $this->_getAccountId(), $this->_getNowTime(), 1000 * 3600 * 24);
$r->setPx(LAST_ACTIVE_TIME . $this->_getAccountId(), $this->_getNowTime(), 1000 * 3600 * 24);
}
}

View File

@ -1088,7 +1088,7 @@ class BattleController extends BaseAuthedController {
}
}
}
$r->setNxPx(DEC_BATTLE_TICKET . $roomUuid, 1, 1000 * 3600);
$r->setPx(DEC_BATTLE_TICKET . $roomUuid, 1, 1000 * 3600);
}
}