排位赛
This commit is contained in:
parent
bea29548e7
commit
16643661cd
@ -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(),
|
||||
|
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user