1
This commit is contained in:
parent
e73007afa5
commit
936232e510
@ -388,6 +388,11 @@ class HeroController extends BaseAuthedController {
|
|||||||
$this->_rspErr(1, 'slot_id parameter error');
|
$this->_rspErr(1, 'slot_id parameter error');
|
||||||
return;
|
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));
|
$srcHeroDb = Hero::find($this->_getV(TN_HERO_QUALITY_UP, $slotId));
|
||||||
if ($srcHeroDb) {
|
if ($srcHeroDb) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user