This commit is contained in:
aozhiwei 2024-04-03 11:48:56 +08:00
parent 57239aac33
commit be917a0fc8

View File

@ -537,7 +537,7 @@ class BattleController extends BaseAuthedController {
$info['battle_times'] = getXVal($seasonBattleData, 'total_battle_times', 0);
}
$heroDb = Hero::findByAccountId($accountId,$info['hero_uniid']);
$heroDb = Hero::findByAccountId($accountId,$member['hero_uniid']);
if ($heroDb) {
$info['is_valid_battle'] = 1;
$info['hero_dto'] = Hero::toDto($heroDb);