diff --git a/webapp/controller/OutAppNftController.class.php b/webapp/controller/OutAppNftController.class.php index 9b2e63e6..b5e225c8 100644 --- a/webapp/controller/OutAppNftController.class.php +++ b/webapp/controller/OutAppNftController.class.php @@ -94,7 +94,7 @@ class OutAppNftController extends BaseController { $todayBattleData = getXVal($hisBattleData, 'today_data', array()); if (myself()->_getDaySeconds(getXVal($todayBattleData, 'modifytime', 0)) == myself()->_getNowDaySeconds()) { $info['battleTimes'] = getXVal($todayBattleData, "total_battle_times", 0); - $info['winTimes'] = getXVal($todayBattleData, "total_win_times", 0); + $info['winTimes'] = getXVal($todayBattleData, "total_special_win_times", 0); $info['kills'] = getXVal($todayBattleData, "total_kills_times", 0); } } diff --git a/webapp/services/TameBattleDataService.php b/webapp/services/TameBattleDataService.php index a81d537e..463210fc 100644 --- a/webapp/services/TameBattleDataService.php +++ b/webapp/services/TameBattleDataService.php @@ -1085,11 +1085,15 @@ class TameBattleDataService extends BaseService { //排名 $ranked = getXVal($this->battleInfo,'pvp_team_rank', 0); + $mapMode = getXVal($this->allInfo,'map_mode', 0); if ($ranked == 1) { //吃鸡次数 $this->incValue($battleData, 'total_win_times', 1); //地图吃鸡数 $this->incValue($battleData['total_map_win_times'], $mapId, 1); + if ($mapMode== mt\MapMode::RANKING_MODE || $mapMode == mt\MapMode::BET_MODE){ + $this->incValue($battleData, "total_special_win_times", 1); + } } if ($ranked <= 3 && $ranked>0){ //排名前十 总次数