This commit is contained in:
aozhiwei 2022-05-26 18:21:36 +08:00
parent 81cddd6815
commit a4471209ea

View File

@ -135,6 +135,21 @@ class RankingController extends BaseAuthedController {
}
}
}
{
$row = myself()->_getSelfMysql()->execQueryOne(
'SELECT * FROM t_rank_activity ' .
'WHERE type=:type AND channel=:channel AND account_id=:account_id;',
array(
':type' => $type,
':channel' => $channel,
':account_id' => myself()->_getAccountId(),
)
);
if ($row) {
$myRanked['value'] = $row['value'];
$myRanked['modifytime'] = $row['modifytime'];
}
}
}
$timeZone = 8;
$rankingData = array(