This commit is contained in:
aozhiwei 2021-12-03 14:23:01 +08:00
parent 2c47da7ce5
commit 7e8e43c1da

View File

@ -58,14 +58,12 @@ class SeasonCardController extends BaseAuthedController {
public function info() public function info()
{ {
$this->_rspData(array( $this->_rspData(array(
array( 'info' => array(
'info' => array( 'season_id' => $this->currSeasonMeta['id'],
'season_id' => $this->currSeasonMeta['id'], 'card_lv' => $this->seasonDb ? $this->seasonDb['card_lv'] : 1,
'card_lv' => $this->seasonDb ? $this->seasonDb['card_lv'] : 1, 'card_exp' => $this->seasonDb ? $this->seasonDb['card_exp'] : 0,
'card_exp' => $this->seasonDb ? $this->seasonDb['card_exp'] : 0, 'gift_packages' => $this->getGiftPackages(),
'gift_packages' => $this->getGiftPackages(), 'received_level_rewards' => $this->getReceivedLevelRewards()
'received_level_rewards' => $this->getReceivedLevelRewards()
)
) )
)); ));
} }