diff --git a/webapp/controller/PassController.class.php b/webapp/controller/PassController.class.php index a3879a42..0352b925 100644 --- a/webapp/controller/PassController.class.php +++ b/webapp/controller/PassController.class.php @@ -42,8 +42,8 @@ class PassController extends BaseAuthedController { $data = emptyReplace(json_decode($row['data'], true), array()); $this->_rspData(array( 'time_info' => array( - 'name'=>strtotime($this->currSeasonMeta['battlepass_name']), - 'sub_name'=>strtotime($this->currSeasonMeta['battlepass_sub_name']), + 'name'=>$this->currSeasonMeta['battlepass_name'], + 'sub_name'=>$this->currSeasonMeta['battlepass_sub_name'], 'begin_time'=>strtotime($this->currSeasonMeta['begin_time']), 'end_time'=>strtotime($this->currSeasonMeta['end_time']) ), @@ -166,14 +166,6 @@ class PassController extends BaseAuthedController { )); } - public function activePlatinumPass(){ - - } - - public function buyPassLevel(){ - - } - public function resetPassLevel(){ } diff --git a/webapp/services/callback/ActiveCbService.php b/webapp/services/callback/ActiveCbService.php new file mode 100644 index 00000000..0b9e7cdf --- /dev/null +++ b/webapp/services/callback/ActiveCbService.php @@ -0,0 +1,25 @@ +