1
This commit is contained in:
parent
c17699e9c1
commit
50c6ad4c2c
@ -4,6 +4,7 @@ require_once('mt/Parameter.php');
|
||||
require_once('mt/Item.php');
|
||||
require_once('mt/Drop.php');
|
||||
require_once('mt/Hero.php');
|
||||
require_once('mt/ServerTaskTime.php');
|
||||
|
||||
require_once('models/Bag.php');
|
||||
require_once('models/Hero.php');
|
||||
@ -36,23 +37,17 @@ class BoxController extends BaseAuthedController {
|
||||
|
||||
public function requestReward()
|
||||
{
|
||||
/*
|
||||
$this->_rspData(array(
|
||||
"item_list" => array(
|
||||
'item_id' => V_ITEM_GOLD,
|
||||
1000
|
||||
array(
|
||||
'item_id' => V_ITEM_GOLD,
|
||||
'item_num' => 1000
|
||||
)
|
||||
)
|
||||
));
|
||||
$payload = '';
|
||||
return;
|
||||
/*
|
||||
$userInfo = $this->_getOrmUserInfo();
|
||||
if (!$userInfo) {
|
||||
$this->_rspErr(1, 'Without this player1');
|
||||
return;
|
||||
}
|
||||
// $ranked = getReqVal('pvp_personal_rank', 0);
|
||||
$teamBattleDataService = new services\TameBattleDataService();
|
||||
$teamBattleDataService->calStarNum();
|
||||
return;*/
|
||||
$mode = getReqVal('room_mode', 0);
|
||||
$item = array();
|
||||
$currentMeta = \mt\ServerTaskTime::getCurrentTime();
|
||||
@ -88,8 +83,8 @@ class BoxController extends BaseAuthedController {
|
||||
Bag::addItem($item['item_id'],$item['item_num']);
|
||||
}
|
||||
$this->_rspData(array(
|
||||
"items" => $item
|
||||
));*/
|
||||
"item_list" => $item
|
||||
));
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user