1
This commit is contained in:
parent
696edee476
commit
3ad16d907e
@ -39,7 +39,7 @@ class BattleController extends BaseAuthedController {
|
||||
}
|
||||
|
||||
$channelId = phpcommon\extractChannel($account_id);
|
||||
if ($chnanelId == SELFSDK_CHANNEL) {
|
||||
if ($chnanelId == SELFSDK_CHANNEL || $account_id == '') {
|
||||
//则是机器人
|
||||
}
|
||||
*/
|
||||
@ -52,6 +52,10 @@ class BattleController extends BaseAuthedController {
|
||||
return;
|
||||
}
|
||||
$data = json_decode(file_get_contents('php://input'), true);
|
||||
/*error_log(json_encode(array(
|
||||
'a' => 'battleReport',
|
||||
'post_data' => $data
|
||||
)));*/
|
||||
$teamList = array();
|
||||
if ($data) {
|
||||
$teamList = $data['team_list'];
|
||||
@ -88,6 +92,17 @@ class BattleController extends BaseAuthedController {
|
||||
$this->_rspData($data);
|
||||
}
|
||||
|
||||
/*
|
||||
http post
|
||||
php://input
|
||||
{
|
||||
}
|
||||
*/
|
||||
|
||||
public function reportSettlement()
|
||||
{
|
||||
}
|
||||
|
||||
public function getBattleData()
|
||||
{
|
||||
$mode = getReqVal('mode', '');
|
||||
|
Loading…
x
Reference in New Issue
Block a user