From 64c5831cf56c9af726c8187d2e9e24038213d490 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 15 Jun 2022 11:08:31 +0800 Subject: [PATCH] 1 --- webapp/controller/RankingController.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webapp/controller/RankingController.class.php b/webapp/controller/RankingController.class.php index 6f877bc2..935c7d24 100644 --- a/webapp/controller/RankingController.class.php +++ b/webapp/controller/RankingController.class.php @@ -92,6 +92,9 @@ class RankingController extends BaseAuthedController { private function internalGetActivityRankData($type) { $channel = 6516; + if (SERVER_ENV != _ONLINE) { + $channel = 6513; + } $userInfo = $this->_getOrmUserInfo(); $myRanked = array( 'ranked' => -1,