From 07eacbc353e3c9881716672edad8ea510c88edc2 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 19 Feb 2024 15:45:24 +0800 Subject: [PATCH] 1 --- webapp/controller/BattleController.class.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/webapp/controller/BattleController.class.php b/webapp/controller/BattleController.class.php index 0573b813..2ebb7784 100644 --- a/webapp/controller/BattleController.class.php +++ b/webapp/controller/BattleController.class.php @@ -275,8 +275,8 @@ class BattleController extends BaseAuthedController { $info['skill_id'] = $userPresetInfo['presetInfo']['skill_id']; $info['weapon_uuid1'] = $userPresetInfo['presetInfo']['weapon_uid1']; $info['weapon_uuid2'] = $userPresetInfo['presetInfo']['weapon_uid2']; - $chipPageDb = ChipPage::find($userPresetInfo['presetInfo']['chip_page']); - $info['chip_page'] = ChipPage::toDtoBattle($chipPageDb); + //$chipPageDb = ChipPage::find($userPresetInfo['presetInfo']['chip_page']); + //$info['chip_page'] = ChipPage::toDtoBattle($chipPageDb); $info['honor_info'] = $userPresetInfo['honor_info']; $battleDb = Battle::find($account_id); if ($battleDb){ @@ -395,8 +395,8 @@ class BattleController extends BaseAuthedController { $info['skill_id'] = $userPresetInfo['presetInfo']['skill_id']; $info['weapon_uuid1'] = $userPresetInfo['presetInfo']['weapon_uid1']; $info['weapon_uuid2'] = $userPresetInfo['presetInfo']['weapon_uid2']; - $chipPageDb = ChipPage::find($userPresetInfo['presetInfo']['chip_page']); - $info['chip_page'] = ChipPage::toDtoBattle($chipPageDb); + //$chipPageDb = ChipPage::find($userPresetInfo['presetInfo']['chip_page']); + //$info['chip_page'] = ChipPage::toDtoBattle($chipPageDb); $info['honor_info'] = $userPresetInfo['honor_info']; $battleDb = Battle::find($accountId); if ($battleDb){ @@ -452,8 +452,8 @@ class BattleController extends BaseAuthedController { $info['skill_id'] = $userPresetInfo['presetInfo']['skill_id']; $info['weapon_uuid1'] = $userPresetInfo['presetInfo']['weapon_uid1']; $info['weapon_uuid2'] = $userPresetInfo['presetInfo']['weapon_uid2']; - $chipPageDb = ChipPage::find($userPresetInfo['hero_uniId']); - $info['chip_page'] = ChipPage::toDtoBattle($chipPageDb); + //$chipPageDb = ChipPage::find($userPresetInfo['hero_uniId']); + //$info['chip_page'] = ChipPage::toDtoBattle($chipPageDb); $info['honor_info'] = $userPresetInfo['honor_info']; $battleDb = Battle::find($accountId); if ($battleDb){ @@ -553,8 +553,8 @@ class BattleController extends BaseAuthedController { $info['skill_id'] = $userPresetInfo['presetInfo']['skill_id']; $info['weapon_uuid1'] = $userPresetInfo['presetInfo']['weapon_uid1']; $info['weapon_uuid2'] = $userPresetInfo['presetInfo']['weapon_uid2']; - $chipPageDb = ChipPage::find($userPresetInfo['presetInfo']['chip_page']); - $info['chip_page'] = ChipPage::toDtoBattle($chipPageDb); + //$chipPageDb = ChipPage::find($userPresetInfo['presetInfo']['chip_page']); + //$info['chip_page'] = ChipPage::toDtoBattle($chipPageDb); $info['honor_info'] = $userPresetInfo['honor_info']; $battleDb = Battle::find($accountId); if ($battleDb){