Merge branch 'hjb' of git.kingsome.cn:server/game2006api into hjb
This commit is contained in:
commit
2ac289c997
@ -586,7 +586,7 @@ class BattleController extends BaseAuthedController {
|
|||||||
$info['battle_times'] = getXVal($seasonBattleData, 'total_battle_times', 0);
|
$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) {
|
if ($heroDb) {
|
||||||
$info['is_valid_battle'] = 1;
|
$info['is_valid_battle'] = 1;
|
||||||
$info['hero_dto'] = Hero::toDto($heroDb);
|
$info['hero_dto'] = Hero::toDto($heroDb);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user