排位赛
This commit is contained in:
parent
bea29548e7
commit
16643661cd
@ -28,7 +28,7 @@ class Season(object):
|
|||||||
],
|
],
|
||||||
'response': [
|
'response': [
|
||||||
_common.RspHead(),
|
_common.RspHead(),
|
||||||
['info', _common.Season(), '赛季信息'],
|
['!info', [_common.Season()], '赛季信息'],
|
||||||
]
|
]
|
||||||
},{
|
},{
|
||||||
'name': 'getRankingInfo',
|
'name': 'getRankingInfo',
|
||||||
@ -37,6 +37,7 @@ class Season(object):
|
|||||||
'url': 'webapp/index.php?c=Season&a=getRankingInfo',
|
'url': 'webapp/index.php?c=Season&a=getRankingInfo',
|
||||||
'params': [
|
'params': [
|
||||||
_common.ReqHead(),
|
_common.ReqHead(),
|
||||||
|
['rank',0,'段位id']
|
||||||
],
|
],
|
||||||
'response': [
|
'response': [
|
||||||
_common.RspHead(),
|
_common.RspHead(),
|
||||||
|
@ -78,8 +78,7 @@ class SeasonController extends BaseAuthedController {
|
|||||||
|
|
||||||
public function infoNew()
|
public function infoNew()
|
||||||
{
|
{
|
||||||
$this->getHeroInfo();
|
|
||||||
die;
|
|
||||||
$rankMeta = mt\Rank::getRankById($this->userInfo['rank']);
|
$rankMeta = mt\Rank::getRankById($this->userInfo['rank']);
|
||||||
$nextRankMeta = mt\Rank::getNextRankById($this->userInfo['rank']);
|
$nextRankMeta = mt\Rank::getNextRankById($this->userInfo['rank']);
|
||||||
if (!$nextRankMeta){
|
if (!$nextRankMeta){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user