From 7e8e43c1da0030380c7684bf136ae3bcbbcde799 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 3 Dec 2021 14:23:01 +0800 Subject: [PATCH] 1 --- webapp/controller/SeasonCardController.class.php | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/webapp/controller/SeasonCardController.class.php b/webapp/controller/SeasonCardController.class.php index d0bd795..cedfa08 100644 --- a/webapp/controller/SeasonCardController.class.php +++ b/webapp/controller/SeasonCardController.class.php @@ -58,14 +58,12 @@ class SeasonCardController extends BaseAuthedController { public function info() { $this->_rspData(array( - array( - 'info' => array( - 'season_id' => $this->currSeasonMeta['id'], - 'card_lv' => $this->seasonDb ? $this->seasonDb['card_lv'] : 1, - 'card_exp' => $this->seasonDb ? $this->seasonDb['card_exp'] : 0, - 'gift_packages' => $this->getGiftPackages(), - 'received_level_rewards' => $this->getReceivedLevelRewards() - ) + 'info' => array( + 'season_id' => $this->currSeasonMeta['id'], + 'card_lv' => $this->seasonDb ? $this->seasonDb['card_lv'] : 1, + 'card_exp' => $this->seasonDb ? $this->seasonDb['card_exp'] : 0, + 'gift_packages' => $this->getGiftPackages(), + 'received_level_rewards' => $this->getReceivedLevelRewards() ) )); }