This commit is contained in:
aozhiwei 2022-06-14 16:18:36 +08:00
parent e73007afa5
commit 936232e510

View File

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