From 29f15587293a37be56f2d9958f05b9a9b0c326d8 Mon Sep 17 00:00:00 2001 From: hujiabin Date: Fri, 10 Mar 2023 11:43:56 +0800 Subject: [PATCH] 1 --- webapp/controller/FragmentController.class.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/webapp/controller/FragmentController.class.php b/webapp/controller/FragmentController.class.php index 77727b0e..b81cfb7a 100644 --- a/webapp/controller/FragmentController.class.php +++ b/webapp/controller/FragmentController.class.php @@ -33,14 +33,14 @@ class FragmentController extends BaseAuthedController switch ($type) { case 1: { - $itemMetaList = mt\Item::getMetaListByType(mt\Item::HERO_TYPE); - $hero = array(); - foreach ($itemMetaList as $meta){ - array_push($hero,$meta['id']); - } -// $mint = strval(\services\FormulaService::Hero_Parts_Synthetic_Cost()); +// $itemMetaList = mt\Item::getMetaListByType(mt\Item::HERO_TYPE); +// $hero = array(); +// foreach ($itemMetaList as $meta){ +// array_push($hero,$meta['id']); +// } $meta = mt\Parameter::getByName('jigsaw_merge_h_price'); $mint = $meta ? $meta['param_value'] : 100; + $hero = array(30700,30900,31000); $this->_rspData(array( 'list' => $hero, 'mint' => $mint