This commit is contained in:
aozhiwei 2022-06-14 16:56:44 +08:00
parent 357354de18
commit 09b308d0c8

View File

@ -388,7 +388,7 @@ class HeroController extends BaseAuthedController {
$this->_rspErr(1, 'slot_id parameter error'); $this->_rspErr(1, 'slot_id parameter error');
return; return;
} }
$costHeroDb = Hero::find($costheroUniId); $costHeroDb = Hero::find($costHeroUniId);
if (!$costHeroDb) { if (!$costHeroDb) {
$this->_rspErr(1, 'cost hero parameter error'); $this->_rspErr(1, 'cost hero parameter error');
return; return;