排位赛

This commit is contained in:
hujiabin 2022-10-13 16:14:17 +08:00
parent bea29548e7
commit 16643661cd
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ class Season(object):
],
'response': [
_common.RspHead(),
['info', _common.Season(), '赛季信息'],
['!info', [_common.Season()], '赛季信息'],
]
},{
'name': 'getRankingInfo',
@ -37,6 +37,7 @@ class Season(object):
'url': 'webapp/index.php?c=Season&a=getRankingInfo',
'params': [
_common.ReqHead(),
['rank',0,'段位id']
],
'response': [
_common.RspHead(),

View File

@ -78,8 +78,7 @@ class SeasonController extends BaseAuthedController {
public function infoNew()
{
$this->getHeroInfo();
die;
$rankMeta = mt\Rank::getRankById($this->userInfo['rank']);
$nextRankMeta = mt\Rank::getNextRankById($this->userInfo['rank']);
if (!$nextRankMeta){