fix(tongji): 恢复游戏进度并完善周榜

This commit is contained in:
大哥大哥的大哥哥
2026-07-20 19:04:45 +08:00
parent 8a6890767e
commit 9e684f0afb
7 changed files with 206 additions and 15 deletions
+4 -1
View File
@@ -44,7 +44,10 @@ class TcmController extends BaseApiController
/** 获取当前登录用户的控糖消消乐每周7人同行榜。 */
public function gameWeeklyLeaderboard()
{
$result = GamePlatformLogic::leaderboard((int) $this->userId);
$result = GamePlatformLogic::leaderboard(
(int) $this->userId,
(string) $this->request->get('session_key', '')
);
if ($result === false) {
return $this->fail(GamePlatformLogic::getError());
}