This commit is contained in:
hujiabin 2022-11-24 14:35:16 +08:00
parent cceb61982f
commit 912139de64

View File

@ -246,7 +246,7 @@ class BattleController extends BaseAuthedController {
myself()->_rspData($data);
}
public function getBattleHistory(){$this->showBattleHistory();die;
public function getBattleHistory(){
$mode = getReqVal('mode', 0);
$historyList = BattleHistory::orderBy(BattleHistory::getMyBattleHistoryByMode($mode),'desc');
$data = array();