diff --git a/webapp/controller/ChipController.class.php b/webapp/controller/ChipController.class.php index c8ab9af4..351205df 100644 --- a/webapp/controller/ChipController.class.php +++ b/webapp/controller/ChipController.class.php @@ -280,7 +280,7 @@ class ChipController extends BaseAuthedController $num = round(round(($cumulative_cost/$upgrade_cost),5)*10000); if ($num_rspErr(1, 'The chip Upgrade failed'); + $this->_rspOk(); return; }else{ //合成成功 @@ -422,6 +422,11 @@ class ChipController extends BaseAuthedController $this->_rspOk(); } + public function test(){ + $cost = \services\FormulaService::Chip_Need_Mint_Cost(6); + print_r($cost); + } + private function _doInlayHero($hero_id,$token_id){ $chip = Chip::getChipByTokenId($token_id);